]> granicus.if.org Git - clang/commit
Fix for PR2910: implement CodeGen for non-constant offsetof.
authorEli Friedman <eli.friedman@gmail.com>
Sat, 24 Jan 2009 22:38:55 +0000 (22:38 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 24 Jan 2009 22:38:55 +0000 (22:38 +0000)
commit769e411b72465a63454cdd416ff26ff313d43505
tree02deecbd888f857849e760ad73d3897cf7f2e24b
parentf2da9dfef96dc11b7b5effb1d02cb427b2d71599
Fix for PR2910: implement CodeGen for non-constant offsetof.

Note that there are still other issues in this area; see PR3396.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62942 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/offsetof.c [new file with mode: 0644]