aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-02-25 22:32:02 +0000
committerTed Kremenek <kremenek@apple.com>2009-02-25 22:32:02 +0000
commit48af2a9c1ed3259512f2d1431720add1fbe8fb5f (patch)
treef6c7032eb6348c37542f1f81e534a2f43a37096c /lib/CodeGen/CodeGenFunction.h
parent6bc9f7e286913fb1df95fa3fdcac7aab2628eaeb (diff)
Add experimental logic in GRExprEngine::EvalEagerlyAssume() to handle
expressions of the form: 'short x = (y != 10);' While we handle 'int x = (y != 10)' lazily, the cast to another integer type currently loses the symbolic constraint. Eager evaluation of the constraint causes the paths to bifurcate and eagerly evaluate 'y != 10' to a constant of 1 or 0. This should address <rdar://problem/6619921> until we have a better (more lazy approach) for handling promotions/truncations of symbolic integer values. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions