[clangd-dev] Disabling automatic insertion of include

Simon Marchi via clangd-dev clangd-dev at lists.llvm.org
Tue Apr 9 12:07:29 PDT 2019

On 2019-04-09 3:01 p.m., Eric Liu wrote:
> Sam has go/phab/D60409 ready to land. It will provide an option to disable the automatic insertion.
> Alternatively, clangd respects IWYU private pragma [0] which can be used by library owners to specify alternative (public) include headers for index symbols in private headers. 
> [0]: https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUPragmas.md#iwyu-pragma-private


Didn't know about the IWYU pragmas, thanks for the reference.


More information about the clangd-dev mailing list