mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
%cu directive
parent
f5fea036be
commit
e2eecd24b2
@ -160,6 +160,11 @@ _appended_ to the compiler flags for files found in `compile_commands.json`.
|
||||
This argument should be added only when parsing C (`%c`), C++ (`%cpp`),
|
||||
Objective-C (`%objective-c`), or Objective-C++ (`%objective-c++`) files.
|
||||
|
||||
### `%cu
|
||||
|
||||
This argument should be added only when parsing CUDA files. If you want an option to be added
|
||||
to both CUDA and regular C++ files, write `%cpp %cu -DA`.
|
||||
|
||||
### `%h` / `%hpp`
|
||||
|
||||
This argument should be added only when indexing C header files (`%h`: `*.h`) or C++
|
||||
|
Loading…
Reference in New Issue
Block a user