commit | b86605eb9ac55fc2b051635b10226c57efd68be7 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Mon Oct 29 05:58:43 2007 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Mon Oct 29 05:58:43 2007 +0000 |
tree | 959e970895f5bd3b23564ee9c0ad0aa4bb1ee383 | |
parent | a703c2e0a272d6204e41437d217ccba7692f4858 [diff] |
Fix logic error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43443 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp index 61e2dbe..87de905 100644 --- a/AST/ASTContext.cpp +++ b/AST/ASTContext.cpp
@@ -912,7 +912,7 @@ 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; }