]> granicus.if.org Git - clang/commit
Add a Expr::isEvaluatable method, eliminate isBuiltinConstantExpr
authorChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 06:49:02 +0000 (06:49 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 06:49:02 +0000 (06:49 +0000)
commit45b6b9d080ac56917337d73d8f1cd6374b27b05d
tree864fcba0f3de84e80f75f96e295b220bb0366346
parenta4d55d89c8076b402bb168e3edeef0c2cd2a78c3
Add a Expr::isEvaluatable method, eliminate isBuiltinConstantExpr
which is checking for something that can be inconsistent with
what we can constant fold.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57159 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/Expr.cpp
lib/AST/ExprConstant.cpp
lib/Sema/SemaDecl.cpp