summaryrefslogtreecommitdiffstats
path: root/clang/Basic/FileManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Finally bite the bullet and make the major change: split the clang namespaceChris Lattner2007-06-151-3/+2
| | | | | | | | | | | | | out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
* adjust to CStringMap interface change.Chris Lattner2007-02-081-15/+21
| | | | llvm-svn: 39333
* simplify logic, eliminate a copy of string data.Chris Lattner2006-10-301-8/+7
| | | | llvm-svn: 39086
* Switch the FileManager::FileEntries map over to using a CStringMap. ThisChris Lattner2006-10-301-27/+41
| | | | | | speeds up preprocessing Cocoa.h 16% (from 0.99 to 0.85s). llvm-svn: 39085
* Wean LookupSubframeworkHeader off std::strings, use the new SmallStringChris Lattner2006-10-301-7/+10
| | | | | | | 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
* Avoid storing a directory name in both the DirEntries map keys and in theChris Lattner2006-10-301-3/+4
| | | | | | | UniqueDirs value. Instead, just have the UniqueDirs value contain a pointer to the key in the DirEntries map. llvm-svn: 39083
* Switch DirEntries over to using a CStringMap. This speeds it upChris Lattner2006-10-301-10/+16
| | | | | | 'clang -Eonly INPUTS/Cocoa_h.m' by about 4%. llvm-svn: 39082
* Avoid some mallocs, and avoid leaking some memory, by making theChris Lattner2006-10-301-16/+16
| | | | | | UniqueDirs/UniqueFiles maps own the memory for the FileEntry and DirEntries. llvm-svn: 39081
* cleanups, add some code for instrumenting statChris Lattner2006-07-191-3/+7
| | | | llvm-svn: 38728
* implement #pragma GCC dependencyChris Lattner2006-06-251-2/+3
| | | | llvm-svn: 38574
* Initial checkin of c-language parserChris Lattner2006-06-181-0/+136
llvm-svn: 38539
OpenPOWER on IntegriCloud