Fix a broken build for gcc <= 7.1
authorHaojian Wu <hokein.wu@gmail.com>
Wed, 14 Oct 2020 13:13:13 +0000 (15:13 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Wed, 14 Oct 2020 13:14:59 +0000 (15:14 +0200)
commite6b4179c5d282905a8ad17c57153b991c42d1126
tree587a86e6aeb9afd0eb42c1d55f7befcec528694a
parent7ee6c402474a2f5fd21c403e7529f97f6362fdb3
Fix a broken build for gcc <= 7.1

we need add a "this->" inside the lambda body to workaround it. Rewrite
it to normal for-range loop.
clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp