diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-21 06:10:04 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-21 06:10:04 +0000 |
commit | 4419b675577d7c281a659fab1fec10e1bfbe04c5 (patch) | |
tree | 0e1b7665a0894faa04ebf94bdbd4bc48b2f9cd1a /lib/Sema/SemaChecking.cpp | |
parent | 13f8cbfbd273999c75999947689234a385514469 (diff) |
Improve the implementation of libclang's token-annotation logic for
entities in the preprocessing record. Previously, we would only end up
getting the first token of a preprocessing record annotated
correctly. For example, given
#include "foo.h"
we would only get the '#' annotated as an inclusion directive; the
'include' and '"foo.h"' tokens would be given the general 'processing
directive' annotation.
Now, we get proper annotations for entities in the preprocessing
record.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions