diff options
Diffstat (limited to 'include/clang/AST/DeclBase.h')
-rw-r--r-- | include/clang/AST/DeclBase.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 8d1ef8f06e..d39ad72bd7 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -363,7 +363,6 @@ public: const AttrVec &getAttrs() const; void swapAttrs(Decl *D); void dropAttrs(); - void dropWeakImportAttr(); void addAttr(Attr *A) { if (hasAttrs()) @@ -382,7 +381,10 @@ public: attr_iterator attr_end() const { return hasAttrs() ? getAttrs().end() : 0; } - + + template <typename T> + void dropAttr(); + template <typename T> specific_attr_iterator<T> specific_attr_begin() const { return specific_attr_iterator<T>(attr_begin()); |