[cfe-commits] r39378 - /cfe/cfe/trunk/Lex/HeaderSearch.cpp

clattner at cs.uiuc.edu clattner at cs.uiuc.edu
Wed Jul 11 09:43:46 PDT 2007


Author: clattner
Date: Wed Jul 11 11:43:46 2007
New Revision: 39378

URL: http://llvm.org/viewvc/llvm-project?rev=39378&view=rev
Log:
Specify an initial size for StringMap.

Modified:
    cfe/cfe/trunk/Lex/HeaderSearch.cpp

Modified: cfe/cfe/trunk/Lex/HeaderSearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/HeaderSearch.cpp?rev=39378&r1=39377&r2=39378&view=diff

==============================================================================
--- cfe/cfe/trunk/Lex/HeaderSearch.cpp (original)
+++ cfe/cfe/trunk/Lex/HeaderSearch.cpp Wed Jul 11 11:43:46 2007
@@ -20,7 +20,7 @@
 using namespace llvm;
 using namespace clang;
 
-HeaderSearch::HeaderSearch(FileManager &FM) : FileMgr(FM) {
+HeaderSearch::HeaderSearch(FileManager &FM) : FileMgr(FM), FrameworkMap(64) {
   SystemDirIdx = 0;
   NoCurDirSearch = false;
   





More information about the cfe-commits mailing list