commit | c815108d08b0417c6f1104e7df70dc5278839406 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Mar 16 22:53:51 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Mar 16 22:53:51 2010 +0000 |
tree | 42fa24ee20398728edde29352a3572051bc69f40 | |
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