Skip to content
Commit 2d77aeb9 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[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.

llvm-svn: 171775
parent 98a8874a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment