summaryrefslogtreecommitdiffstats
path: root/clang/Basic/FileManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* In FileManager: use full paths to unique files and directories on Windows,Ted Kremenek2008-02-241-8/+106
| | | | | | | | since inodes are bogus abstraction on that platform. Patch by Argiris Kirtzidis! llvm-svn: 47535
* Fix misspelling of "existent".Ted Kremenek2008-01-111-21/+21
| | | | | | | | Do not use std::cerr; use llvm::cerr instead. Patch provided by Sam Bishop! llvm-svn: 45880
* Fixed 80-col violation.Ted Kremenek2008-01-111-2/+2
| | | | llvm-svn: 45845
* Don't attribute in file headers anymore. See llvmdev for theChris Lattner2007-12-291-2/+2
| | | | | | discussion of this change. llvm-svn: 45410
* Refactored inode and device number into FileEntry, and changed theTed Kremenek2007-12-181-8/+5
| | | | | | ADT storing FileEntry's in FileManager from a map to a set. llvm-svn: 45184
* Added to FileEntry a pointer to the <dev_t,ino_t> pair for the file, andTed Kremenek2007-12-181-2/+8
| | | | | | accessors to FileEntry to query these values. llvm-svn: 45171
* Removed serialization of FileEntry and DirectoryEntry. This objects willTed Kremenek2007-12-041-32/+1
| | | | | | now be lazily recreated upon deserialization. llvm-svn: 44585
* Implemented serialization of FileEntry and DirectoryEntry.Ted Kremenek2007-12-041-0/+33
| | | | llvm-svn: 44573
* VC++ doesn't define S_ISDIRChris Lattner2007-09-031-0/+3
| | | | llvm-svn: 41688
* 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