================ @@ -141,16 +143,41 @@ std::vector<Diag> generateMissingIncludeDiagnostics( AST.getPreprocessor().getHeaderSearchInfo(), MainFile}); llvm::StringRef HeaderRef{Spelling}; - bool Angled = HeaderRef.starts_with("<"); + + bool IsAngled = false; ---------------- Harald-R wrote:
Made the change: https://github.com/llvm/llvm-project/pull/140594/commits/6739bd8ec96fe0d47e7566e459a9c2d1b433e0a8 If this PR gets merged, I will submit another one for fixing the other instance in Headers.cpp. https://github.com/llvm/llvm-project/pull/140594 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits