[clang-tools-extra] [clang-tidy] Improved --verify-config when using literal style in config file (PR #85591)

Danny Mösch via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 24 07:29:50 PDT 2024


================
@@ -19,12 +19,17 @@ static bool consumeNegativeIndicator(StringRef &GlobList) {
   return GlobList.consume_front("-");
 }
 
-// Converts first glob from the comma-separated list of globs to Regex and
-// removes it and the trailing comma from the GlobList.
-static llvm::Regex consumeGlob(StringRef &GlobList) {
+// Extract the first glob from the comma-separated list of globs
----------------
SimplyDanny wrote:

```suggestion
// Extracts the first glob from the comma-separated list of globs,
```

https://github.com/llvm/llvm-project/pull/85591


More information about the cfe-commits mailing list