================ @@ -1574,6 +1574,7 @@ bool HeaderSearch::ShouldEnterIncludeFile(Preprocessor &PP, } } + FileInfo.IsLocallyIncluded = true; ---------------- jansvoboda11 wrote:
I agree, I wanted to colocate this with call to `Preprocessor::markIncluded()`. If we find a better way of doing things, we can move both of them. https://github.com/llvm/llvm-project/pull/89441 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits