summaryrefslogtreecommitdiffstats
path: root/clang/AST/Type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/AST/Type.cpp')
-rw-r--r--clang/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/AST/Type.cpp b/clang/AST/Type.cpp
index 27453ca9813..dca9404dc96 100644
--- a/clang/AST/Type.cpp
+++ b/clang/AST/Type.cpp
@@ -677,7 +677,7 @@ void TypeOfExpr::getAsStringInternal(std::string &InnerString) const {
if (!InnerString.empty()) // Prefix the basic type, e.g. 'typeof(e) X'.
InnerString = ' ' + InnerString;
std::ostringstream s;
- getUnderlyingExpr()->print(s);
+ getUnderlyingExpr()->printPretty(s);
InnerString = "typeof(" + s.str() + ")" + InnerString;
}
OpenPOWER on IntegriCloud