]> granicus.if.org Git - clang/commitdiff
[Modules] Clean up some code that was manually replicating what
authorChandler Carruth <chandlerc@gmail.com>
Thu, 26 Mar 2015 23:59:47 +0000 (23:59 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 26 Mar 2015 23:59:47 +0000 (23:59 +0000)
SmallSetVector provides directly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233334 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Serialization/ASTWriter.h

index d3885b2557d7c5a905086277c272d14f572a54ce..41b1cab75d52efc7597bc0ba289361c698599bc5 100644 (file)
@@ -387,8 +387,7 @@ private:
                  
   /// \brief The set of declarations that may have redeclaration chains that
   /// need to be serialized.
-  llvm::SetVector<Decl *, SmallVector<Decl *, 4>,
-                  llvm::SmallPtrSet<Decl *, 4> > Redeclarations;
+  llvm::SmallSetVector<Decl *, 4> Redeclarations;
                                       
   /// \brief Statements that we've encountered while serializing a
   /// declaration or type.