aboutsummaryrefslogtreecommitdiff
path: root/unittests/AST/DeclPrinterTest.cpp
diff options
context:
space:
mode:
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);
}