Closed Liamolucko closed 8 months ago
At https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-include-file, you can see that only --include supports being used like --include=foo.h. -include can only be used like -includefoo.h, and so trying to follow the instructions and use -include=* doesn't do anything.
--include
--include=foo.h
-include
-includefoo.h
-include=*
I'm kind of surprised that I didn't get any errors trying to use -include=*, clangd seems to be suppressing them or something.
clangd
At https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-include-file, you can see that only
--include
supports being used like--include=foo.h
.-include
can only be used like-includefoo.h
, and so trying to follow the instructions and use-include=*
doesn't do anything.I'm kind of surprised that I didn't get any errors trying to use
-include=*
,clangd
seems to be suppressing them or something.