[cfe-commits] r39925 - /cfe/trunk/AST/Expr.cpp

Chris Lattner sabre at nondot.org
Mon Jul 16 14:04:57 PDT 2007


Author: lattner
Date: Mon Jul 16 16:04:56 2007
New Revision: 39925

URL: http://llvm.org/viewvc/llvm-project?rev=39925&view=rev
Log:
avoid requiring people to update from llvm svn.

Modified:
    cfe/trunk/AST/Expr.cpp

Modified: cfe/trunk/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Expr.cpp?rev=39925&r1=39924&r2=39925&view=diff

==============================================================================
--- cfe/trunk/AST/Expr.cpp (original)
+++ cfe/trunk/AST/Expr.cpp Mon Jul 16 16:04:56 2007
@@ -289,7 +289,7 @@
     const CharacterLiteral *CL = cast<CharacterLiteral>(this);
     Result.zextOrTrunc(Ctx.getTypeSize(getType(), CL->getLoc()));                              
     Result = CL->getValue();
-    Result.setIsSigned(getType()->isSignedIntegerType());
+    Result.setIsUnsigned(!getType()->isSignedIntegerType());
     break;
   }
   case DeclRefExprClass:





More information about the cfe-commits mailing list