forked from OSchip/llvm-project
avoid requiring people to update from llvm svn.
llvm-svn: 39925
This commit is contained in:
parent
3363f4ad96
commit
7d138433e9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue