aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/NestedNameSpecifier.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-10 00:39:07 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-10 00:39:07 +0000
commitfee8a3c003a8894002810a6373bd5b895290974e (patch)
treed340929fb494781e71cdff2c98b29379b894d15c /lib/AST/NestedNameSpecifier.cpp
parent5fc7d344ae772731d3d7c9076b8786e780a68696 (diff)
Move all of the type-printing logic to its own C++ source file
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/NestedNameSpecifier.cpp')
-rw-r--r--lib/AST/NestedNameSpecifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/NestedNameSpecifier.cpp b/lib/AST/NestedNameSpecifier.cpp
index d969776aa0..e26c0bba49 100644
--- a/lib/AST/NestedNameSpecifier.cpp
+++ b/lib/AST/NestedNameSpecifier.cpp
@@ -167,7 +167,7 @@ NestedNameSpecifier::print(llvm::raw_ostream &OS,
InnerPolicy);
} else {
// Print the type normally
- T->getAsStringInternal(TypeStr, InnerPolicy);
+ TypeStr = QualType(T, 0).getAsString(InnerPolicy);
}
OS << TypeStr;
break;