]> granicus.if.org Git - clang/commit
Fix macro backtrace printing.
authorRichard Trieu <rtrieu@google.com>
Thu, 27 Aug 2015 23:38:45 +0000 (23:38 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 27 Aug 2015 23:38:45 +0000 (23:38 +0000)
commitbef82968592ec63b3371a1bf3548effa239c6281
tree97851903a88496ad2040ca19a0b8d13b609760af
parentd2e47e291ce056309eb1d387ffee8bc436e3dd15
Fix macro backtrace printing.

Sometimes, a macro that expands to another macro name will not be printed in
the macro backtrace.  This patch finds the missed macro expansions and prints
them.  Fixes PR16799

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246237 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/DiagnosticRenderer.cpp
test/Misc/diag-macro-backtrace2.c [new file with mode: 0644]