summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-05-27 21:29:22 +0000
committerAlexander Kornienko <alexfh@google.com>2014-05-27 21:29:22 +0000
commit83a4e18f4c59bfec7d925df6f6f7e627b6d14d40 (patch)
treefa638581a660d757e9230e04c3ce82a1e39e6e4b /clang/lib/AST
parent81e105e8d6cfc0a8ccf85f15a8885ef7c73064a0 (diff)
downloadbcm5719-llvm-83a4e18f4c59bfec7d925df6f6f7e627b6d14d40.tar.gz
bcm5719-llvm-83a4e18f4c59bfec7d925df6f6f7e627b6d14d40.zip
Retain isImplicit flag for local variable declarations when instantiating
templates. Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3924 llvm-svn: 209686
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ASTDumper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTDumper.cpp b/clang/lib/AST/ASTDumper.cpp
index e4ddba33cc7..14e0e0160d7 100644
--- a/clang/lib/AST/ASTDumper.cpp
+++ b/clang/lib/AST/ASTDumper.cpp
@@ -802,6 +802,8 @@ void ASTDumper::dumpDecl(const Decl *D) {
if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
if (ND->isHidden())
OS << " hidden";
+ if (D->isImplicit())
+ OS << " implicit";
bool HasAttrs = D->hasAttrs();
const FullComment *Comment =
OpenPOWER on IntegriCloud