Chris Lattner
43fd42e4d9
Wean LookupSubframeworkHeader off std::strings, use the new SmallString
...
class instead. SmallString allows to code to avoid hitting malloc in
the normal case (or will, when some other stuff is converted over).
llvm-svn: 39084
2006-10-30 03:40:58 +00:00
Chris Lattner
a85cbe28a0
Avoid storing a directory name in both the DirEntries map keys and in the
...
UniqueDirs value. Instead, just have the UniqueDirs value contain a pointer
to the key in the DirEntries map.
llvm-svn: 39083
2006-10-30 03:11:40 +00:00
Chris Lattner
af65375944
Switch DirEntries over to using a CStringMap. This speeds it up
...
'clang -Eonly INPUTS/Cocoa_h.m' by about 4%.
llvm-svn: 39082
2006-10-30 03:06:54 +00:00
Chris Lattner
8b1e848a04
Avoid some mallocs, and avoid leaking some memory, by making the
...
UniqueDirs/UniqueFiles maps own the memory for the FileEntry and DirEntries.
llvm-svn: 39081
2006-10-30 02:45:16 +00:00
Chris Lattner
81500bc3ae
cleanups, add some code for instrumenting stat
...
llvm-svn: 38728
2006-07-19 03:40:07 +00:00
Chris Lattner
269c232e67
implement #pragma GCC dependency
...
llvm-svn: 38574
2006-06-25 06:23:00 +00:00
Chris Lattner
22eb972f38
Initial checkin of c-language parser
...
llvm-svn: 38539
2006-06-18 05:43:12 +00:00