Handle __assume in the VoidExprEvaluator
authorHal Finkel <hfinkel@anl.gov>
Thu, 17 Jul 2014 14:49:58 +0000 (14:49 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 17 Jul 2014 14:49:58 +0000 (14:49 +0000)
commita8443c36ae1e0de98082c2f2106599c7753da771
treedf097572bcff3a7411d81ce498538e85c93e4531
parentf041733585024574a4965dd80e3931442bd8472d
Handle __assume in the VoidExprEvaluator

This is a follow-up to an IRC conversation with Richard last night; __assume
does not evaluate its argument, and so the argument should not contribute to
whether (__assume(e), constant) can be used where a constant is required.

llvm-svn: 213267
clang/lib/AST/ExprConstant.cpp
clang/test/Sema/builtin-assume.c