You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# scip-clang: SCIP indexer for C and C++ 
2
2
3
3
scip-clang is a precise code indexer based on Clang 16,
4
-
which supports cross-repository code navigation for C and C++
4
+
which supports cross-repository code navigation for C, C++ and CUDA
5
5
in Sourcegraph.
6
6
7
7
Here are some code navigation examples:
@@ -11,6 +11,7 @@ Here are some code navigation examples:
11
11
-[Find references for #include](https://sourcegraph.com/github.com/llvm/llvm-project@97a03eb2eb5acf269db6253fe540626b52950f97/-/blob/llvm/include/llvm/ADT/SmallSet.h?L1:1-1:81#tab=references)
12
12
-[Find references for macros](https://sourcegraph.com/github.com/llvm/llvm-project@daad48d6b236d74c6b29daebba46289b98104241/-/blob/llvm/include/llvm/Support/Debug.h?L101:9-101:19#tab=references)
13
13
-[Find references for types](https://sourcegraph.com/github.com/llvm/llvm-project@daad48d6b236d74c6b29daebba46289b98104241/-/blob/clang/include/clang/AST/ASTContext.h?L1472:34-1472:45#tab=references)
14
+
-[Find references for a CUDA kernel in apache/mxnet](https://sourcegraph.com/github.com/apache/mxnet@b84609d/-/blob/src/operator/nn/softmax-inl.h?L693:7-693:28#tab=references)
3. If you see an error related to an unknown flag,
210
+
you can generally ignore it.
211
+
scip-clang [skips all known NVCC-specific flags](https://sourcegraph.com/github.com/sourcegraph/scip-clang@2efb686d14e92c587e10d452a168d32ccdbb6032/-/blob/indexer/CompilationDatabase.cc?L244-352)
212
+
as they generally don't affect the semantics of code navigation.
213
+
We can easily add more flags to skip here if needed.
214
+
215
+
</details>
216
+
186
217
If there are errors about missing system or SDK headers,
0 commit comments