aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-06-03 21:01:11 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-06-03 21:01:11 +0000
commit1b76ada683bcec33799fd0eb114aaad3e1d04ca9 (patch)
tree9496f7954a7d6565b2863ae43634240a9c43d0b6 /lib/AST/DeclBase.cpp
parent053d71c233e54b5199672c068bad7ba3f6ee85bb (diff)
Re-fix r51907 in a way which doesn't affect valid code. This essentially
moves the check for the invalid construct to a point where it doesn't affect other uses of isIntegerConstantExpr, and we can warn properly when the extension is used. This makes it a bit more complicated, but it's a lot cleaner. Steve, please tell me if this check is sufficient to handle the relevant system header. I know it's enough to handle the testcase, but I don't know what exactly the original looks like. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions