[PATCH] D42624: [clang-tidy] Add a utility Matcher to match the next statement within a statement sequence

Tristan Bourvon via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 10:54:58 PST 2018


tbourvon created this revision.
tbourvon added a reviewer: lebedev.ri.
tbourvon added a project: clang-tools-extra.
Herald added subscribers: hintonda, xazax.hun, mgorny.

This adds a utility matcher (which is placed in `util/Matchers.h`, because it uses functions from `ASTMatchFinder.h` which cannot be used from `ASTMatchers.h`) used by https://reviews.llvm.org/D37014).


https://reviews.llvm.org/D42624

Files:
  clang-tidy/utils/Matchers.h
  unittests/clang-tidy/CMakeLists.txt
  unittests/clang-tidy/MatchersUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42624.131711.patch
Type: text/x-patch
Size: 3599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180128/47eff80b/attachment.bin>


More information about the cfe-commits mailing list