================ @@ -188,6 +290,20 @@ llvm::SmallVector<Hinted<Header>> findHeaders(const SymbolLocation &Loc, OptionalFileEntryRef FE = SM.getFileEntryRefForID(FID); if (!FE) return {}; + + if (SrcMgr::isSystem( ---------------- kadircet wrote:
i am afraid this check might be overly strict, maybe drop this initially and see if we have too many false-positives? https://github.com/llvm/llvm-project/pull/66089 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits