Closed lioujheyu closed 6 years ago
@lioujheyu Thanks for the report. Unfortunately, we do not currently support non-release builds of clang; however, if you can suggest a patch to remedy this issue we would be happy to apply it. Regrettably, this may be tedious and difficult; much of the code related to macro handling depends on the release behavior of getImmediateExpansionRange
and associated macro-related routines. I suspect much of this code would need to be wrapped in isMacroID()
checks to avoid triggering this assertion.
Error message
clang-mutate: /home/jliou4/llvm-4/tools/clang/lib/Basic/SourceManager.cpp:975:
Assertion Loc.isMacroID() && "Not a macro expansion loc!" failed.
Call stack
Only a few of them on the top are listed
Steps of reproduce
Environment
Steps