diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-11 19:19:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-11 19:19:21 +0000 |
commit | 2bd2e028cafdfbfe1dbc34a4c737eedcbf09527a (patch) | |
tree | 107c54ed3bb25afe19b810ec646a2dc38bdf68ca /clang/lib/AST/ExprConstant.cpp | |
parent | 36f82122997ca58789cc4ebd1cdedd9ad96f4ea3 (diff) | |
download | bcm5719-llvm-2bd2e028cafdfbfe1dbc34a4c737eedcbf09527a.tar.gz bcm5719-llvm-2bd2e028cafdfbfe1dbc34a4c737eedcbf09527a.zip |
rename "SInt" methods to "Int" in APValue.
llvm-svn: 53467
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 5826fab131b..424d95e078e 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -386,9 +386,9 @@ VisitSizeOfAlignOfTypeExpr(const SizeOfAlignOfTypeExpr *E) { //===----------------------------------------------------------------------===// bool Expr::tryEvaluate(APValue &Result, ASTContext &Ctx) const { + llvm::APSInt sInt(32); #if USE_NEW_EVALUATOR if (getType()->isIntegerType()) { - llvm::APSInt sInt(32); if (EvaluateInteger(this, sInt, Ctx)) { Result = APValue(sInt); return true; |