kevgs updated this revision to Diff 67955.
kevgs added a comment.

clang-formatted + dead code removed


https://reviews.llvm.org/D23329

Files:
  include/clang/AST/AttrIterator.h

Index: include/clang/AST/AttrIterator.h
===================================================================
--- include/clang/AST/AttrIterator.h
+++ include/clang/AST/AttrIterator.h
@@ -39,8 +39,7 @@
 namespace clang {
 
 /// AttrVec - A vector of Attr, which is how they are stored on the AST.
-typedef SmallVector<Attr*, 2> AttrVec;
-typedef SmallVector<const Attr*, 2> ConstAttrVec;
+typedef SmallVector<Attr *, 4> AttrVec;
 
 /// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
 /// providing attributes that are of a specific type.


Index: include/clang/AST/AttrIterator.h
===================================================================
--- include/clang/AST/AttrIterator.h
+++ include/clang/AST/AttrIterator.h
@@ -39,8 +39,7 @@
 namespace clang {
 
 /// AttrVec - A vector of Attr, which is how they are stored on the AST.
-typedef SmallVector<Attr*, 2> AttrVec;
-typedef SmallVector<const Attr*, 2> ConstAttrVec;
+typedef SmallVector<Attr *, 4> AttrVec;
 
 /// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
 /// providing attributes that are of a specific type.
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to