aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r--lib/AST/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index b0fdccbdc9..fd498d534c 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1324,7 +1324,7 @@ void TypeOfExprType::getAsStringInternal(std::string &InnerString) const {
std::string Str;
llvm::raw_string_ostream s(Str);
getUnderlyingExpr()->printPretty(s);
- InnerString = "typeof(" + s.str() + ")" + InnerString;
+ InnerString = "typeof " + s.str() + InnerString;
}
void TypeOfType::getAsStringInternal(std::string &InnerString) const {