[llvm] r204915 - SmallVector<3> may be used here.

NAKAMURA Takumi geek4civic at gmail.com
Thu Mar 27 04:33:11 PDT 2014


Author: chapuni
Date: Thu Mar 27 06:33:11 2014
New Revision: 204915

URL: http://llvm.org/viewvc/llvm-project?rev=204915&view=rev
Log:
SmallVector<3> may be used here.

Modified:
    llvm/trunk/unittests/IR/InstructionsTest.cpp

Modified: llvm/trunk/unittests/IR/InstructionsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/InstructionsTest.cpp?rev=204915&r1=204914&r2=204915&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/InstructionsTest.cpp (original)
+++ llvm/trunk/unittests/IR/InstructionsTest.cpp Thu Mar 27 06:33:11 2014
@@ -65,7 +65,7 @@ protected:
 
   LLVMContext Ctx;
   std::unique_ptr<Module> M;
-  std::vector<Type *> FArgTypes;
+  SmallVector<Type *, 3> FArgTypes;
   Function *F;
 };
 





More information about the llvm-commits mailing list