[clangd-dev] Disabling automatic insertion of include
Sam McCall via clangd-dev
clangd-dev at lists.llvm.org
Wed Apr 10 00:22:37 PDT 2019
I'm a little hesitant to mention this, as it's a bit of a pandora's box,
If it's hard to get prominent libraries like glib patched, we could have a
lookup table, and pretend we saw such directives...
On Tue, Apr 9, 2019 at 9:07 PM Simon Marchi via clangd-dev <
clangd-dev at lists.llvm.org> wrote:
> On 2019-04-09 3:01 p.m., Eric Liu wrote:
> > Sam has go/phab/D60409 <https://goto.google.com/phab/D60409> ready to
> land. It will provide an option to disable the automatic insertion.
> > Alternatively, clangd respects IWYU private pragma  which can be used
> by library owners to specify alternative (public) include headers for index
> symbols in private headers.
> > :
> Didn't know about the IWYU pragmas, thanks for the reference.
> clangd-dev mailing list
> clangd-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the clangd-dev