diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-08 04:54:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-08 04:54:43 +0000 |
commit | f4b42f545b77a81f5db3af7b84131a77a1d2aae3 (patch) | |
tree | f8b41c2db67127604420cde967f6ce0390a19a83 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2b88c1e4c43838d570aca37fefd53a1c590604ad (diff) | |
download | bcm5719-llvm-f4b42f545b77a81f5db3af7b84131a77a1d2aae3.tar.gz bcm5719-llvm-f4b42f545b77a81f5db3af7b84131a77a1d2aae3.zip |
Add support for constant folding the 'offsetof' pattern even if the
base is not zero. This fixes test/C++Frontend/2008-05-07-CrazyOffsetOf.cpp
llvm-svn: 50840
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions