commit | 31bb8be680ee2facf7fbb3c6c87b9bbd20248328 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jul 20 18:00:12 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jul 20 18:00:12 2007 +0000 |
tree | 98b4ef62ca73a3e8f867efa2deda7b8bd4f57f19 | |
parent | 60c3a1ba7a9d7ce31fcf39690631e716c3d356e9 [diff] |
improve comments, implement a trivial single-entry cache in SourceManager::getInstantiationLoc. With this change, every token expanded from a macro doesn't get its own MacroID. :) This reduces # macro IDs in carbon.h from 16805 to 9197 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40108 91177308-0d34-0410-b5e6-96231b3b80d8