diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-30 05:32:29 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-30 05:32:29 +0000 |
commit | 99bc1b99d3a27c7094709a2c4a7a9aa44f479365 (patch) | |
tree | b5b0abaa4bd5cb7042b755dd0018242d7f3c20ca /clang/lib/AST/ASTDumper.cpp | |
parent | a4ba74c5f50a1f03fdf7ff23b6b1a2380fb58a8c (diff) | |
download | bcm5719-llvm-99bc1b99d3a27c7094709a2c4a7a9aa44f479365.tar.gz bcm5719-llvm-99bc1b99d3a27c7094709a2c4a7a9aa44f479365.zip |
Mention in AST dump whether a class declaration is a definition.
llvm-svn: 189647
Diffstat (limited to 'clang/lib/AST/ASTDumper.cpp')
-rw-r--r-- | clang/lib/AST/ASTDumper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp index a38202a0938..dfd4640d8fe 100644 --- a/clang/lib/AST/ASTDumper.cpp +++ b/clang/lib/AST/ASTDumper.cpp @@ -783,6 +783,8 @@ void ASTDumper::VisitRecordDecl(const RecordDecl *D) { dumpName(D); if (D->isModulePrivate()) OS << " __module_private__"; + if (D->isCompleteDefinition()) + OS << " definition"; } void ASTDumper::VisitEnumConstantDecl(const EnumConstantDecl *D) { |