mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user