[clang-tidy] Fix a potential infinite loop in readability-isolate-declaration check.
authorHaojian Wu <hokein@google.com>
Wed, 18 Sep 2019 09:21:35 +0000 (09:21 +0000)
committerHaojian Wu <hokein@google.com>
Wed, 18 Sep 2019 09:21:35 +0000 (09:21 +0000)
commitd94c7bf06e00582c07fc0e9d215710eb6866f79b
tree7cd1704e21f8ae18ed9625fe0fc8479e738b60d4
parentd97865e530df4ad2ed9c2a999edf0a19ee567e79
[clang-tidy] Fix a potential infinite loop in readability-isolate-declaration check.

Reviewers: ilya-biryukov

Subscribers: xazax.hun, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67654

llvm-svn: 372206
clang-tools-extra/clang-tidy/utils/LexerUtils.h
clang-tools-extra/test/clang-tidy/readability-isolate-declaration-no-infinite-loop.cpp [new file with mode: 0644]