commit | c059f89d888cd214e18ed09a7b47339201526381 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jan 07 19:16:30 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Jan 07 19:16:30 2013 +0000 |
tree | 4240f871ee563868aff64ac9bf16587e6d163b79 | |
parent | e9de485169b76acba3a3cb16399fa3d63e43ec2c [diff] |
[libclang] Simplify annotation of preprocessing tokens and remove the AnnotateTokensData DenseMap and the lookups associated with it. Instead of lexing for preprocessor tokens, associating the annotation with the location in a map, and later lookup in the map in order to adjust the cursor annotation, just annotate the cursor while lexing for preprocessor tokens. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171775 91177308-0d34-0410-b5e6-96231b3b80d8