diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-10 00:39:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-10 00:39:07 +0000 |
commit | 983136e3a1eed1fc44b99b477897eb09d619f9a6 (patch) | |
tree | ee98eebf99db9b2f09cd41f150b53977babcd1a5 /clang/lib/AST/NestedNameSpecifier.cpp | |
parent | cf89db135e3769e25144ad418eb45eb974a938ef (diff) | |
download | bcm5719-llvm-983136e3a1eed1fc44b99b477897eb09d619f9a6.tar.gz bcm5719-llvm-983136e3a1eed1fc44b99b477897eb09d619f9a6.zip |
Move all of the type-printing logic to its own C++ source file
llvm-svn: 86629
Diffstat (limited to 'clang/lib/AST/NestedNameSpecifier.cpp')
-rw-r--r-- | clang/lib/AST/NestedNameSpecifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/NestedNameSpecifier.cpp b/clang/lib/AST/NestedNameSpecifier.cpp index d969776aa0e..e26c0bba493 100644 --- a/clang/lib/AST/NestedNameSpecifier.cpp +++ b/clang/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; |