diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-16 22:53:51 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-16 22:53:51 +0000 |
commit | c815108d08b0417c6f1104e7df70dc5278839406 (patch) | |
tree | 42fa24ee20398728edde29352a3572051bc69f40 /lib/Driver/Tools.cpp | |
parent | 453091cc2082e207ea2c2dda645a9bc01b37fb0c (diff) |
Teach SourceManager's content cache to keep track of whether its
buffer was invalid when it was created, and use that bit to always set
the "Invalid" flag according to whether the buffer is invalid. This
ensures that all accesses to an invalid buffer are marked invalid,
improving recovery.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions