commit | dcb1d68f6ffa183f3919aee6b554aec3793bf13e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 07 01:17:07 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 07 01:17:07 2010 +0000 |
tree | 1a828b706bfc5044f00c2943ab45350e2e64a82f | |
parent | 8e67219a7cb0cf7bfa432f8c30da9c52999737ce [diff] |
reimplement the caching in the SourceManager::isBeforeInTranslationUnit() method to be correct. Right now it correctly computes the cache, then goes ahead and computes the result the hard way, then asserts that they match. Next I'll actually turn it on. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103231 91177308-0d34-0410-b5e6-96231b3b80d8