aboutsummaryrefslogtreecommitdiff
path: root/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
commitd1fc82efd53ffda30f4f16041399d78f3bf0705f (patch)
tree9ee85d9db680f5f1a988316180924e3cecf6dde7 /unittests/AST/DeclPrinterTest.cpp
parent33a71f31af401100c8f267627ec40465029acff9 (diff)
Rename PrintingPolicy::DontRecurseInDeclContext to PrintingPolicy::TerseOutput
to reflect the intention, not the implementation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/DeclPrinterTest.cpp')
-rw-r--r--unittests/AST/DeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/DeclPrinterTest.cpp b/unittests/AST/DeclPrinterTest.cpp
index c86ec2d44a..0292499225 100644
--- a/unittests/AST/DeclPrinterTest.cpp
+++ b/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);
}