aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/clang/AST/Attr.h1
-rw-r--r--include/clang/Basic/Attr.td6
2 files changed, 3 insertions, 4 deletions
diff --git a/include/clang/AST/Attr.h b/include/clang/AST/Attr.h
index e07e84a783..7dbf41350a 100644
--- a/include/clang/AST/Attr.h
+++ b/include/clang/AST/Attr.h
@@ -15,6 +15,7 @@
#define LLVM_CLANG_AST_ATTR_H
#include "clang/AST/AttrIterator.h"
+#include "clang/AST/Decl.h"
#include "clang/AST/Type.h"
#include "clang/Basic/AttrKinds.h"
#include "clang/Basic/LLVM.h"
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td
index 21c56c3520..8ff725b77a 100644
--- a/include/clang/Basic/Attr.td
+++ b/include/clang/Basic/Attr.td
@@ -435,8 +435,7 @@ def IBOutlet : InheritableAttr {
def IBOutletCollection : InheritableAttr {
let Spellings = [GNU<"iboutletcollection">];
- let Args = [TypeArgument<"Interface", 1>, SourceLocArgument<"InterfaceLoc">];
- let HasCustomParsing = 1;
+ let Args = [TypeArgument<"Interface", 1>];
}
def Malloc : InheritableAttr {
@@ -751,8 +750,7 @@ def VectorSize : TypeAttr {
def VecTypeHint : InheritableAttr {
let Spellings = [GNU<"vec_type_hint">];
- let Args = [TypeArgument<"TypeHint">, SourceLocArgument<"TypeLoc">];
- let HasCustomParsing = 1;
+ let Args = [TypeArgument<"TypeHint">];
}
def Visibility : InheritableAttr {