Open Quuxplusone opened 8 years ago
Attached macro-location.cc
(276 bytes, text/x-c++src): Test Case
Removing "RelOffs > 50" creates additional problems, so that's not the answer.
One promising approach is to use the getImmediateMacroName from DiagnosticRender.cpp instead of the one from Lexer.
I am also looking at the where the locations are coming from during the creation of the Expr's.
macro-location.cc
(276 bytes, text/x-c++src)