summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/DeclPrinterTest.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-21 17:36:32 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-21 17:36:32 +0000
commita93a7e8d5e72fde260eaaf77c996a35b3a463e16 (patch)
tree05002b64a070e70001599250fcbbb4115dd8acc0 /clang/unittests/AST/DeclPrinterTest.cpp
parent4ee038421bbf6c35e3c88c92b4c1e17169e1bb64 (diff)
downloadbcm5719-llvm-a93a7e8d5e72fde260eaaf77c996a35b3a463e16.tar.gz
bcm5719-llvm-a93a7e8d5e72fde260eaaf77c996a35b3a463e16.zip
Rename PrintingPolicy::DontRecurseInDeclContext to PrintingPolicy::TerseOutput
to reflect the intention, not the implementation. llvm-svn: 162293
Diffstat (limited to 'clang/unittests/AST/DeclPrinterTest.cpp')
-rw-r--r--clang/unittests/AST/DeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/DeclPrinterTest.cpp b/clang/unittests/AST/DeclPrinterTest.cpp
index c86ec2d44aa..02924992252 100644
--- a/clang/unittests/AST/DeclPrinterTest.cpp
+++ b/clang/unittests/AST/DeclPrinterTest.cpp
@@ -32,7 +32,7 @@ namespace {
void PrintDecl(raw_ostream &Out, const ASTContext *Context, const Decl *D) {
PrintingPolicy Policy = Context->getPrintingPolicy();
- Policy.DontRecurseInDeclContext = true;
+ Policy.TerseOutput = true;
D->print(Out, Policy, /*Indentation*/ 0, /*PrintInstantiation*/ false);
}
OpenPOWER on IntegriCloud