forked from OSchip/llvm-project
d9e1a61d31
We have an assertion failure if, for example, the definition of an unused inline function starts in one macro and ends in another. This patch fixes the issue by finding the common ancestor of the start and end locations of that function's body and changing the locations accordingly. Thanks to NAKAMURA Takumi for helping with fixing the test failure on Windows. Differential Revision: http://reviews.llvm.org/D20997 llvm-svn: 271995 |
||
---|---|---|
.. | ||
code.h | ||
ends_a_scope | ||
ends_a_scope_only | ||
header1.h | ||
macros.h | ||
md.def | ||
starts_a_scope | ||
starts_a_scope_only |