summaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/TextAPIError.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2023-07-23 08:45:23 +0200
committerSam McCall <sam.mccall@gmail.com>2023-07-25 18:19:37 +0200
commit0478ef2d366c6f88678e37d54190dcdaa0ec69da (patch)
tree91bce108fae5c5bfcc6d10be29b60d35282a1554 /llvm/lib/TextAPI/TextAPIError.cpp
parentf6dc75cdd8756a8faa36b6f2e0d517eb8464c396 (diff)
[clangd] Exclude builtin headers from system include extraction
Most headers that we discover are likely to be fairly portable across at least clang/gcc, which is why we get away with adding them to clangd's search path. This is not the case for the compiler builtin headers, which are shipped with the parser and rely on parser builtins/features. We're better off *not* using the the scanned builtin headers, and hoping our own intrinsics provide the interface the code is relying on. Fixes https://github.com/clangd/clangd/issues/1695 Differential Revision: https://reviews.llvm.org/D156044
Diffstat (limited to 'llvm/lib/TextAPI/TextAPIError.cpp')
0 files changed, 0 insertions, 0 deletions