summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2011-07-28 00:19:05 +0000
committerRichard Trieu <rtrieu@google.com>2011-07-28 00:19:05 +0000
commit82398f9cd6e2461f2c5a9efb44f126e81adc2fa4 (patch)
tree30ca26b2bde7068523f5904abf708ec2f5c32797 /clang/lib/Frontend
parent18a53fca2785a1c4376a2a3c7a6e740cf6908f5f (diff)
downloadbcm5719-llvm-82398f9cd6e2461f2c5a9efb44f126e81adc2fa4.tar.gz
bcm5719-llvm-82398f9cd6e2461f2c5a9efb44f126e81adc2fa4.zip
Add template instantiations to the output of -ast-dump.
llvm-svn: 136306
Diffstat (limited to 'clang/lib/Frontend')
-rw-r--r--clang/lib/Frontend/ASTConsumers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/ASTConsumers.cpp b/clang/lib/Frontend/ASTConsumers.cpp
index b0746b290cf..6412727cd74 100644
--- a/clang/lib/Frontend/ASTConsumers.cpp
+++ b/clang/lib/Frontend/ASTConsumers.cpp
@@ -41,7 +41,8 @@ namespace {
virtual void HandleTranslationUnit(ASTContext &Context) {
PrintingPolicy Policy = Context.PrintingPolicy;
Policy.Dump = Dump;
- Context.getTranslationUnitDecl()->print(Out, Policy);
+ Context.getTranslationUnitDecl()->print(Out, Policy, /*Indentation=*/0,
+ /*PrintInstantiation=*/true);
}
};
} // end anonymous namespace
OpenPOWER on IntegriCloud