diff options
-rw-r--r-- | AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp index 61e2dbea06..87de905a27 100644 --- a/AST/ASTContext.cpp +++ b/AST/ASTContext.cpp @@ -912,7 +912,7 @@ void ASTContext::getObjcEncodingForType(QualType T, std::string& S) const if (PointeeTy->isCharType()) { // char pointer types should be encoded as '*' unless it is a // type that has been typedef'd to 'BOOL'. - if (isTypeTypedefedAsBOOL(T)) { + if (!isTypeTypedefedAsBOOL(T)) { S += '*'; return; } |