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

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 00:48:32 PDT 2023


phosek added a comment.

If we want to support both regular expressions and glob patterns permanently, then a solution like `#!regex` or `#!glob` is likely the way to go.

If we want to allow soft-transition, then we could do something like `#!special-case-list-v2`, where v1 would support regular expressions and v2 glob patterns. We can then give a deprecation warning that v1 is going to be removed in the next Clang release and later remove it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154014



More information about the llvm-commits mailing list