[cfe-dev] Missing diagnostic highlighting on macro "expanded from" note

David Blaikie dblaikie at gmail.com
Sun Sep 4 13:53:19 PDT 2011


Is this by design? (the second diagnostic, the note about the first, is not
highlighted - not bold nor with black (grey) "note:", etc)

/tmp/webcompile/_18466_0.cc:3:14: error: use of undeclared identifier
'fob'; did you mean 'foo'?int main() { call }
^/tmp/webcompile/_18466_0.cc:1:14: note: instantiated from:
#define call fob();             ^/tmp/webcompile/_18466_0.cc:2:6:
note: 'foo' declared herevoid foo();     ^1 error generated.


source:

#define call fob();
void foo();
int main() { call }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110904/c8b3d9e5/attachment.html>


More information about the cfe-dev mailing list