mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Updated FAQ (markdown)
parent
1dd5d0122d
commit
1632c414b5
4
FAQ.md
4
FAQ.md
@ -16,7 +16,7 @@ options with GCC which are not available in Clang you can use
|
|||||||
remove them.
|
remove them.
|
||||||
|
|
||||||
If you want to convince Clang to use the GCC header files you can add the
|
If you want to convince Clang to use the GCC header files you can add the
|
||||||
`--gcc-toolchain` option either via the [`.ccls` file](Customization#ccls-file)
|
`--gcc-toolchain` option either via the [`.ccls` file](Project-Setup#ccls-file)
|
||||||
or the [`clang.extraArgs](Customization#clangextraargs--clangexcludeargs)
|
or the [`clang.extraArgs](Customization#clangextraargs--clangexcludeargs)
|
||||||
initialization option. For example to choose the GCC system header files you
|
initialization option. For example to choose the GCC system header files you
|
||||||
might add:
|
might add:
|
||||||
@ -129,7 +129,7 @@ use `c-index-test`.
|
|||||||
`Debug/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/c-index-test -index-file local /tmp/c/a.cc -isystem/usr/include/c++/7.3.0 -isystemyour_include_path2`
|
`Debug/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/c-index-test -index-file local /tmp/c/a.cc -isystem/usr/include/c++/7.3.0 -isystemyour_include_path2`
|
||||||
|
|
||||||
Play with your `-isystem` options until you get a group of options that you
|
Play with your `-isystem` options until you get a group of options that you
|
||||||
can add to the [`.ccls` file](Customization#ccls-file) or add through
|
can add to the [`.ccls` file](Project-Setup#ccls-file) or add through
|
||||||
`clang.extraArgs`.
|
`clang.extraArgs`.
|
||||||
|
|
||||||
## Inspect index files
|
## Inspect index files
|
||||||
|
Loading…
Reference in New Issue
Block a user