diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-17 05:19:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-17 05:19:10 +0000 |
commit | b42700f555fd57bfe8082d54f87832b2cdbb3289 (patch) | |
tree | 04437bcffac65472d8cd13b896d786a256f28f60 /clang/lib/Basic/Diagnostic.cpp | |
parent | d3d16aaa48e1334de72bf7b21c13fbd530f2af16 (diff) | |
download | bcm5719-llvm-b42700f555fd57bfe8082d54f87832b2cdbb3289.tar.gz bcm5719-llvm-b42700f555fd57bfe8082d54f87832b2cdbb3289.zip |
If a source range comes through a function-like macro expansion,
highlight the arguments to the macro as well as the identifier.
Before:
t.c:3:9: error: no matching function for call to '__tg_acos'; candidates are:
return acos(x);
^~~~
after:
t.c:3:9: error: no matching function for call to '__tg_acos'; candidates are:
return acos(x);
^~~~~~~
llvm-svn: 64743
Diffstat (limited to 'clang/lib/Basic/Diagnostic.cpp')
0 files changed, 0 insertions, 0 deletions