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 | adfdccf1f3d4d9c377c721b5c1067dcc02e58c23 (patch) | |
tree | d0a2d6653938286df2bfed0bb7806ce865871379 /clang/lib/Basic/Targets.cpp | |
parent | cac9df3bf6bd1ffd1251aac73805a37c041a2fdc (diff) | |
download | bcm5719-llvm-adfdccf1f3d4d9c377c721b5c1067dcc02e58c23.tar.gz bcm5719-llvm-adfdccf1f3d4d9c377c721b5c1067dcc02e58c23.zip |
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.
llvm-svn: 117001
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions