hanchenye-llvm-project/clang/lib/Basic
Daniel Dunbar 7cea5f1747 Add a pretty horrible hack to prevent clang from crashing with inconsistent PCH
files.
 - The issue is that PCH uses a stat cache, which may reference files which have
   been deleted or moved. In such cases ContentCache::getBuffer was returning 0
   but most clients are incapable of dealing with this (i.e., they don't).

   For the time being, resolve this issue by just making up some invalid file
   contents and. Eventually we should detect that we are in an inconsistent
   situation and error out with a nice message that the PCH is out of date.

llvm-svn: 90699
2009-12-06 05:43:36 +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 Extend -remap-file=from;to to permit mapping from a non-existent 2009-12-02 18:12:28 +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