commit | ecc65238c98ba21d08763da7b7972d617677e908 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Apr 13 01:03:57 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Sat Apr 13 01:03:57 2013 +0000 |
tree | 55b6d0ffc73876facdfc8c1ae740df53f5493012 | |
parent | 3a0f7ac43aa3dcf1e3231549ca9ce8cffd5a2d7c [diff] |
Introduce SourceManager::getDecomposedIncludedLoc, that returns the "included/expanded in" decomposed location of the given FileID. The main benefit is to speed-up SourceManager::isBeforeInTranslationUnit which is common to query the included/expanded location of the same FileID multiple times. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179435 91177308-0d34-0410-b5e6-96231b3b80d8