llvm-project/clang/lib/Basic
Douglas Gregor 606c4ac325 Improve our uniquing of file entries when files are re-saved or are
overridden via remapping. Thus, when we create a "virtual" file in the
file manager, we still stat() the real file that lives behind it so
that we can provide proper uniquing based on inodes. This helps keep
the file manager much more consistent.

To take advantage of this when reparsing files in libclang, we disable
the use of the stat() cache when reparsing or performing code
completion, since the stat() cache is very likely to be out of date in
this use case.

llvm-svn: 124971
2011-02-05 19:42:43 +00:00
..
Builtins.cpp In C++, if the user redeclares a builtin function with a type that is 2010-12-21 19:47:46 +00:00
CMakeLists.txt rework the stat cache, pulling it out of FileManager.h into 2010-11-23 19:19:34 +00:00
ConvertUTF.c Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Diagnostic.cpp Teach Diagnostic::setClient() to free the existing, owned 2011-01-31 22:04:05 +00:00
DiagnosticIDs.cpp If any Fix-Its attached to a diagnostic have invalid source locations 2011-02-03 23:41:12 +00:00
FileManager.cpp Improve our uniquing of file entries when files are re-saved or are 2011-02-05 19:42:43 +00:00
FileSystemStatCache.cpp Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. 2010-12-17 21:22:22 +00:00
IdentifierTable.cpp Rename alignof -> alignOf to avoid irritating C++'0x compilers, 2010-10-30 05:14:06 +00:00
Makefile Basic: Simplify getClangRepositoryPath and getClangRevision. 2010-09-29 19:15:29 +00:00
SourceLocation.cpp Fix diagnostic pragmas. 2010-12-15 18:44:22 +00:00
SourceManager.cpp Teach SourceManager::getLocation() how to cope with a source file 2011-02-03 17:17:35 +00:00
TargetInfo.cpp PowerPC fixes. 2011-01-06 08:27:10 +00:00
Targets.cpp Support EFI target triple, from Carl Norum! 2011-02-01 15:06:18 +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 Basic: Tweak attempt to make version tags work from 'svn export's again, clip 2010-10-11 23:50:34 +00:00