]> granicus.if.org Git - clang/commit
Workaround for PR3173. The fix is correct in the sense that if the enum
authorEli Friedman <eli.friedman@gmail.com>
Mon, 8 Dec 2008 02:21:03 +0000 (02:21 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 8 Dec 2008 02:21:03 +0000 (02:21 +0000)
commite9a0f43927041e2bcc89140c338dfae207ad3c3b
tree58a97cca29623e74d6a7275a0c33a38dc10f6de1
parent3cc461dccbfd3503f8a07cd46dae838245c27f26
Workaround for PR3173.  The fix is correct in the sense that if the enum
code were working correctly, it would be a no-op, but it's not really a
proper fix.  That said, I don't really want to touch the enum code at
the moment because I don't understand it very well, and this seems to
be a relatively visible regression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/Sema/enum.c