diff options
author | John McCall <rjmccall@apple.com> | 2009-09-05 06:31:47 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-09-05 06:31:47 +0000 |
commit | 2191b20bfb31fc0e22a158f6b4204cd0b7dbd0fd (patch) | |
tree | f83185278453f6702e0ebee829f34e2cd58b6a4f /lib/AST/NestedNameSpecifier.cpp | |
parent | a2f4ec0df645fc249d2945beef9653f03b175417 (diff) |
Start emitting ElaboratedTypes in C++ mode. Support the effort in various
ways: remove elab types during desugaring, enhance pretty-printing to allow
tags to be suppressed without suppressing scopes, look through elab types
when associating a typedef name with an anonymous record type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/NestedNameSpecifier.cpp')
-rw-r--r-- | lib/AST/NestedNameSpecifier.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/NestedNameSpecifier.cpp b/lib/AST/NestedNameSpecifier.cpp index 0c24c89b29..24fb752420 100644 --- a/lib/AST/NestedNameSpecifier.cpp +++ b/lib/AST/NestedNameSpecifier.cpp @@ -143,6 +143,7 @@ NestedNameSpecifier::print(llvm::raw_ostream &OS, PrintingPolicy InnerPolicy(Policy); InnerPolicy.SuppressTagKind = true; + InnerPolicy.SuppressScope = true; // Nested-name-specifiers are intended to contain minimally-qualified // types. An actual QualifiedNameType will not occur, since we'll store |