commit | a444f1856459130bd3a1bb8995331c9e367db04f | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Tue Jul 17 22:01:09 2012 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Tue Jul 17 22:01:09 2012 +0000 |
tree | 517492bbe55f32f7bd3f485b2078c0455ba2a4b9 | |
parent | 75d4b1e34b873e368977e09d8a9681988de1a1a9 [diff] |
Implement an optimization for finding the comment that occurs just after a given declaration. It is based on the observation that during parsing the comment that should be attached to the decl is usually among the last two documentation comments parsed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160400 91177308-0d34-0410-b5e6-96231b3b80d8