fix a warning about a zero length array, by ripping out all of the old declattributes code. :-)

Swift SVN r20071
This commit is contained in:
Chris Lattner
2014-07-17 04:48:34 +00:00
parent 1bd9d81971
commit fdaa28ce16
7 changed files with 36 additions and 173 deletions

View File

@@ -64,7 +64,6 @@ SyntaxModelContext::SyntaxModelContext(SourceFile &SrcFile)
if (AttrLoc.isValid()) {
// This token is following @, see if it's a known attribute name.
bool IsAttr = llvm::StringSwitch<bool>(Tok.getText())
#define ATTR(X) .Case(#X, true)
#define TYPE_ATTR(X) .Case(#X, true)
#define DECL_ATTR(X, ...) .Case(#X, true)
#define DECL_ATTR_ALIAS(X, ...) .Case(#X, true)