[cfe-commits] r155877 - /cfe/trunk/include/clang/AST/Attr.h

Douglas Gregor dgregor at apple.com
Mon Apr 30 18:56:29 PDT 2012


Author: dgregor
Date: Mon Apr 30 20:56:29 2012
New Revision: 155877

URL: http://llvm.org/viewvc/llvm-project?rev=155877&view=rev
Log:
Remove the unused DestroyAttrs, noticed by Michael Han.

Modified:
    cfe/trunk/include/clang/AST/Attr.h

Modified: cfe/trunk/include/clang/AST/Attr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Attr.h?rev=155877&r1=155876&r2=155877&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Attr.h (original)
+++ cfe/trunk/include/clang/AST/Attr.h Mon Apr 30 20:56:29 2012
@@ -147,10 +147,6 @@
 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>





More information about the cfe-commits mailing list