diff options
| author | Shafik Yaghmour <syaghmour@apple.com> | 2019-08-12 17:07:49 +0000 |
|---|---|---|
| committer | Shafik Yaghmour <syaghmour@apple.com> | 2019-08-12 17:07:49 +0000 |
| commit | cb282b4ebcc6dfdad55581464cd72abb0fec9cc4 (patch) | |
| tree | 0abc80b086e7286b39c34616a49db7a9ac411b32 /clang/lib/AST | |
| parent | 6a3c2c84be2b319e4aa893e6b3440eedc27ab3a6 (diff) | |
| download | bcm5719-llvm-cb282b4ebcc6dfdad55581464cd72abb0fec9cc4.tar.gz bcm5719-llvm-cb282b4ebcc6dfdad55581464cd72abb0fec9cc4.zip | |
[ASTDump] Add is_anonymous to VisitCXXRecordDecl
Summary:
Adding is_anonymous the ASTDump for CXXRecordDecl. This turned out to be useful when debugging some problems with how LLDB creates ASTs from DWARF.
Differential Revision: https://reviews.llvm.org/D66028
llvm-svn: 368591
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/TextNodeDumper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/TextNodeDumper.cpp b/clang/lib/AST/TextNodeDumper.cpp index cba9091b106..df3d149f297 100644 --- a/clang/lib/AST/TextNodeDumper.cpp +++ b/clang/lib/AST/TextNodeDumper.cpp @@ -1537,6 +1537,7 @@ void TextNodeDumper::VisitCXXRecordDecl(const CXXRecordDecl *D) { FLAG(isGenericLambda, generic); FLAG(isLambda, lambda); + FLAG(isAnonymousStructOrUnion, is_anonymous); FLAG(canPassInRegisters, pass_in_registers); FLAG(isEmpty, empty); FLAG(isAggregate, aggregate); |

