[clang] [Clang] suggest headers on undeclared errors (PR #140247)
via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 07:07:43 PDT 2025
================
@@ -14,6 +14,8 @@
#include "clang/Basic/DiagnosticParse.h"
#include "clang/Parse/Parser.h"
#include "clang/Sema/ParsedTemplate.h"
+#include "clang/Tooling/Inclusions/StandardLibrary.h"
----------------
cor3ntin wrote:
Sure, but we want to rewrite anyway. The implementation (StandardLibrary.cpp) seems fairly inefficient. We should try to TableGen a trie and store version information in there, have some support for typo correction, etc
https://github.com/llvm/llvm-project/pull/140247
More information about the cfe-commits
mailing list