[PATCH] D154014: [SpecialCaseList] Use Globs instead of Regex

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 20 18:08:19 PDT 2023


ellis updated this revision to Diff 542732.
ellis added a comment.

If `#!special-case-list-v2` is the first line in the special case list, then we will use globs to match patterns. Otherwise, we fall back to the original behavior of using regexes to match patterns. Once this feature is stable, and after a version cut, we can remove the regex case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154014/new/

https://reviews.llvm.org/D154014

Files:
  clang/docs/SanitizerSpecialCaseList.rst
  clang/lib/Basic/ProfileList.cpp
  clang/lib/Basic/SanitizerSpecialCaseList.cpp
  llvm/include/llvm/Support/SpecialCaseList.h
  llvm/lib/Support/SpecialCaseList.cpp
  llvm/unittests/Support/SpecialCaseListTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154014.542732.patch
Type: text/x-patch
Size: 31709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230721/bebece0d/attachment-0001.bin>


More information about the cfe-commits mailing list