r215362 - Increase the size of ToolChain::FilePaths

Hans Wennborg hans at hanshq.net
Mon Aug 11 09:15:57 PDT 2014


Author: hans
Date: Mon Aug 11 11:15:57 2014
New Revision: 215362

URL: http://llvm.org/viewvc/llvm-project?rev=215362&view=rev
Log:
Increase the size of ToolChain::FilePaths

In a Clang bootstrap build, the size was always at least 9.

Modified:
    cfe/trunk/include/clang/Driver/ToolChain.h

Modified: cfe/trunk/include/clang/Driver/ToolChain.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/ToolChain.h?rev=215362&r1=215361&r2=215362&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/ToolChain.h (original)
+++ cfe/trunk/include/clang/Driver/ToolChain.h Mon Aug 11 11:15:57 2014
@@ -41,7 +41,7 @@ namespace driver {
 /// ToolChain - Access to tools for a single platform.
 class ToolChain {
 public:
-  typedef SmallVector<std::string, 4> path_list;
+  typedef SmallVector<std::string, 16> path_list;
 
   enum CXXStdlibType {
     CST_Libcxx,





More information about the cfe-commits mailing list