]> granicus.if.org Git - clang/commit
Add Expr::getIntegerConstantExprValue helper method
authorDaniel Dunbar <daniel@zuster.org>
Thu, 24 Jul 2008 01:08:37 +0000 (01:08 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 24 Jul 2008 01:08:37 +0000 (01:08 +0000)
commitcd8f646eca128f52a7bce0103c51ff82ce96f374
treefdac8e542ee9133eff0cbdb8767e3b4e7a8156ba
parent624b9365b1a2f67a5367c2c9f45f0649f36e5217
Add Expr::getIntegerConstantExprValue helper method
 - For getting an APSInt from a known integer constant Expr.
 - TODO: Many users of Expr::isIntegerConstantExpr in codegen should
   probably be using this instead...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53974 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h