r233334 - [Modules] Clean up some code that was manually replicating what

Chandler Carruth chandlerc at gmail.com
Thu Mar 26 16:59:47 PDT 2015


Author: chandlerc
Date: Thu Mar 26 18:59:47 2015
New Revision: 233334

URL: http://llvm.org/viewvc/llvm-project?rev=233334&view=rev
Log:
[Modules] Clean up some code that was manually replicating what
SmallSetVector provides directly.

Modified:
    cfe/trunk/include/clang/Serialization/ASTWriter.h

Modified: cfe/trunk/include/clang/Serialization/ASTWriter.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/ASTWriter.h?rev=233334&r1=233333&r2=233334&view=diff
==============================================================================
--- cfe/trunk/include/clang/Serialization/ASTWriter.h (original)
+++ cfe/trunk/include/clang/Serialization/ASTWriter.h Thu Mar 26 18:59:47 2015
@@ -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.





More information about the cfe-commits mailing list