aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2012-07-23 20:21:35 +0000
committerRichard Trieu <rtrieu@google.com>2012-07-23 20:21:35 +0000
commitc320c745ccd411caa9afa776bf51548b758bf4fe (patch)
treeee99b17c47bceb296088c79e9f0587e0ed694daf /clang/lib/CodeGen/CodeGenFunction.h
parente3942ef9a45fb9a0bf99c2ea2de5af761d8a269a (diff)
downloadllvm-c320c745ccd411caa9afa776bf51548b758bf4fe.zip
llvm-c320c745ccd411caa9afa776bf51548b758bf4fe.tar.gz
llvm-c320c745ccd411caa9afa776bf51548b758bf4fe.tar.bz2
Change APInt to APSInt in one instance. Also change a call to operator==() to
APSInt::isSameValue() when comparing different sized APSInt's. llvm-svn: 160641
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index b737a9e..697571b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -2511,7 +2511,7 @@ public:
/// ConstantFoldsToSimpleInteger - If the specified expression does not fold
/// to a constant, or if it does but contains a label, return false. If it
/// constant folds return true and set the folded value.
- bool ConstantFoldsToSimpleInteger(const Expr *Cond, llvm::APInt &Result);
+ bool ConstantFoldsToSimpleInteger(const Expr *Cond, llvm::APSInt &Result);
/// EmitBranchOnBoolExpr - Emit a branch on a boolean condition (e.g. for an
/// if statement) to the specified blocks. Based on the condition, this might