aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-15 23:54:50 +0000
committerChris Lattner <sabre@nondot.org>2007-07-15 23:54:50 +0000
commit26dc7b39267b7d29b35a7887a5b8e54697192192 (patch)
tree68522062461c316a472de3cb03bfcd48ae61194f /CodeGen/CodeGenFunction.cpp
parentbfef6d7c67831a135d6ab79931f010f750a730ad (diff)
Remove an extraneous QualType from CastExpr, it's type is always
the result type of the expr node. Implement isIntegerConstantExpr for ImplicitCastExpr nodes the same was as for CastExpr nodes. Implement proper sign/zero extension as well as truncation and noop conversion in the i-c-e evaluator. This allows us to correctly handle i-c-e's like these: char array[1024/(sizeof (long))]; int x['\xBb' == (char) 187 ? 1: -1]; this implements test/Sema/i-c-e2.c git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions