llvm-project/clang/lib/Basic
Daniel Dunbar 2f1a6c1104 FileManager: Do not cache failed stats, it is easy to construct common
inconsistent situations if we do, and they are not important for PCH performance
(which currently only needs the stats to construct the initial FileManager
entries).
 - No test case, sorry, the machinations are too involved.

This occurs when, for example, the build makes a PCH file and has a header map
or a -I for a directory that does not yet exist. It is possible we will cache
the negative stat on that directory, and then in the build we will never find
header files inside that dir.

For PCH we don't need these stats anyway for performance, so this also makes PCH
files smaller w/ no loss. I hope to eventually eliminate the stat cache
entirely.

llvm-svn: 91082
2009-12-11 00:27:20 +00:00
..
Builtins.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
CMakeLists.txt Fix cmake failure trying to get SVN info for non-SVN trees. 2009-10-24 20:32:58 +00:00
ConvertUTF.c Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Diagnostic.cpp Remove 'LangOpts' from Diagnostic (added in http://llvm.org/viewvc/llvm-project?view=rev&revision=90642). 2009-12-05 12:23:07 +00:00
FileManager.cpp FileManager: Do not cache failed stats, it is easy to construct common 2009-12-11 00:27:20 +00:00
IdentifierTable.cpp Implement support for parsing dependent template-ids that refer to 2009-11-04 00:56:37 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
SourceLocation.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
SourceManager.cpp Add a pretty horrible hack to prevent clang from crashing with inconsistent PCH 2009-12-06 05:43:36 +00:00
TargetInfo.cpp Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck. 2009-11-21 00:49:54 +00:00
Targets.cpp Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck. 2009-11-21 00:49:54 +00:00
TokenKinds.cpp This patch adds a PUNCTUATOR macro (specialization of TOK) in TokenKinds.def and makes use of it in tok::getTokenSimpleSpelling. 2009-11-28 16:09:28 +00:00
Version.cpp Strip off the /clang/tools/clang at the end of the Subversion URL, if it's there 2009-11-05 23:46:05 +00:00