avoid requiring people to update from llvm svn.

llvm-svn: 39925
This commit is contained in:
Chris Lattner 2007-07-16 21:04:56 +00:00
parent 3363f4ad96
commit 7d138433e9
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ bool Expr::isIntegerConstantExpr(llvm::APSInt &Result, ASTContext &Ctx,
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: