]> granicus.if.org Git - clang/commitdiff
Remove the unused DestroyAttrs, noticed by Michael Han.
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 May 2012 01:56:29 +0000 (01:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 May 2012 01:56:29 +0000 (01:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155877 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Attr.h

index ef1aa256626cd74483e1eeed5ee22b0fe37ca2d9..84ee5a738b7269d6df13740f4ddddce7a65ef94f 100644 (file)
@@ -147,10 +147,6 @@ public:
 typedef SmallVector<Attr*, 2> AttrVec;
 typedef SmallVector<const Attr*, 2> ConstAttrVec;
 
-/// DestroyAttrs - Destroy the contents of an AttrVec.
-inline void DestroyAttrs (AttrVec& V, ASTContext &C) {
-}
-
 /// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
 /// providing attributes that are of a specifc type.
 template <typename SpecificAttr>