[PATCH] D129706: [NFCI][clang-tidy] Reimplement GlobList without relying on Regex.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 13 16:44:48 PDT 2022


njames93 created this revision.
njames93 added reviewers: alexfh, aaron.ballman.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a project: All.
njames93 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

Regex is a little cumbersome for the limited syntax GlobList supports and its implementation is a bit of a hack.
This implementation supports exactly what we require and nothing more.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129706

Files:
  clang-tools-extra/clang-tidy/GlobList.cpp
  clang-tools-extra/clang-tidy/GlobList.h
  clang-tools-extra/unittests/clang-tidy/GlobListTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129706.444454.patch
Type: text/x-patch
Size: 12531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220713/5878f009/attachment-0001.bin>


More information about the cfe-commits mailing list