[cfe-commits] r43443 - /cfe/trunk/AST/ASTContext.cpp
Anders Carlsson
andersca at mac.com
Sun Oct 28 22:58:43 PDT 2007
Author: andersca
Date: Mon Oct 29 00:58:43 2007
New Revision: 43443
URL: http://llvm.org/viewvc/llvm-project?rev=43443&view=rev
Log:
Fix logic error.
Modified:
cfe/trunk/AST/ASTContext.cpp
Modified: cfe/trunk/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/ASTContext.cpp?rev=43443&r1=43442&r2=43443&view=diff
==============================================================================
--- cfe/trunk/AST/ASTContext.cpp (original)
+++ cfe/trunk/AST/ASTContext.cpp Mon Oct 29 00:58:43 2007
@@ -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;
}
More information about the cfe-commits
mailing list