diff options
| author | John McCall <rjmccall@apple.com> | 2010-01-05 23:42:56 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-01-05 23:42:56 +0000 |
| commit | cd7a445c6b46c5585580dfb652300c8483c0cb6b (patch) | |
| tree | 1330a8434ff577b5dd5d839fa099e4dba5d6af02 /lib/CodeGen/CodeGenModule.h | |
| parent | 377adb6cffb3fdfcf659303d6f901adef4d61971 (diff) | |
Add Expr::EvaluateAsBooleanCondition(), which does unprincipled folding to
try to evaluate an expression as a constant boolean condition. This has
the same intended semantics as used in folding conditional operators.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
