forked from OSchip/llvm-project
149614bfe7
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. llvm-svn: 51918 |
||
---|---|---|
.. | ||
Diagnostic.h | ||
DiagnosticKinds.def | ||
FileManager.h | ||
IdentifierTable.h | ||
LangOptions.h | ||
SourceLocation.h | ||
SourceManager.h | ||
TargetInfo.h | ||
TokenKinds.def | ||
TokenKinds.h |