aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-16 23:58:57 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-16 23:58:57 +0000
commit069ea646616e4ece684e1dec652640f644f0d40a (patch)
tree8b81b14b78b196fefc706c8bbcfc2bd41085ff79 /lib/CodeGen/CodeGenFunction.h
parente59d8585bb40a8bae6b847ad258536a2c01f20ea (diff)
When dealing with an anonymous enumeration declared in function
prototype scope, temporarily set the context of the enumeration declaration to the translation unit. We do the same thing for parameters, until we have an actual function declaration on which to hang them. Fixes <rdar://problem/8435682>. There is more work to do in this area, since we have existing bugs with tags being declared/defined in function parameter lists. This fix is correct, and we'll end up extending it when we deal with those existing bugs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions