[cfe-commits] r142127 - in /cfe/trunk: lib/Frontend/TextDiagnostic.cpp test/Misc/caret-diags-macros.c test/Misc/include-stack-for-note-flag.cpp test/Misc/macro-backtrace.c
John McCall
rjmccall at apple.com
Mon Oct 17 10:16:25 PDT 2011
On Oct 16, 2011, at 2:30 AM, Chandler Carruth wrote:
> We now produce:
> % ./bin/clang -fsyntax-only t5.cc
> t5.cc:6:3: error: expected unqualified-id
> 2,
> ^
> t5.cc:2:3: note: expanded from macro: M
> y
> ^
> 1 error generated.
Neat!
I think "expanded from macro 'M'" would be more natural than the colon, though.
John.
More information about the cfe-commits
mailing list