aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2022-09-20 21:39:47 +0200
committerSam McCall <sam.mccall@gmail.com>2022-10-12 19:54:51 +0200
commit2eaf6f973cacd7f24691b72a9c6a3ee2a3d1a60b (patch)
treeacd85f44f20df33bff5f2d778bca2c68955ba9cc /clang/lib/Frontend/CompilerInvocation.cpp
parent20be96b19813a73137d2f5b398428a293e9f3399 (diff)
downloadllvm-2eaf6f973cacd7f24691b72a9c6a3ee2a3d1a60b.zip
llvm-2eaf6f973cacd7f24691b72a9c6a3ee2a3d1a60b.tar.gz
llvm-2eaf6f973cacd7f24691b72a9c6a3ee2a3d1a60b.tar.bz2
[AST] Preserve more structure in UsingEnumDecl node.
- store NestedNameSpecifier & Loc for the qualifiers This information was entirely missing from the AST. - expose the location information for qualifier/identifier/typedefs as typeloc This allows many traversals/astmatchers etc to handle these generically along with other references. The decl vs type split can help preserve typedef sugar when https://github.com/llvm/llvm-project/issues/57659 is resolved. - fix the SourceRange of UsingEnumDecl to include 'using'. Fixes https://github.com/clangd/clangd/issues/1283 Differential Revision: https://reviews.llvm.org/D134303
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions