summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-29 02:14:09 +0000
committerChris Lattner <sabre@nondot.org>2009-12-29 02:14:09 +0000
commitb9c8651b8cf963e6f286d6b44a4cababba225994 (patch)
tree38c3897ed778f57d0afd3ef59a0941de8a497f2d /clang/lib/CodeGen/CodeGenModule.cpp
parent9f021fd05d07e60a9bf3a7ff7969e15ad1cbdb2c (diff)
downloadbcm5719-llvm-b9c8651b8cf963e6f286d6b44a4cababba225994.tar.gz
bcm5719-llvm-b9c8651b8cf963e6f286d6b44a4cababba225994.zip
add a layer of accessors around the Value::SubClassData member, and use
a convention (shadowing the setter with private forwarding function) to prevent subclasses from accidentally using it. This exposed some bogosity in ConstantExprs, which was propaging the opcode of the constant expr into the NUW/NSW/Exact field in the getWithOperands/getWithOperandReplaced methods. llvm-svn: 92239
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud