[llvm] [FileCheck] improve prefix validation (PR #92248)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 05:35:11 PDT 2024
================
@@ -2468,24 +2468,36 @@ FileCheckString::CheckDag(const SourceMgr &SM, StringRef Buffer,
static bool ValidatePrefixes(StringRef Kind, StringSet<> &UniquePrefixes,
ArrayRef<StringRef> SuppliedPrefixes) {
+ static const char *Suffixes[] = {"-NEXT", "-SAME", "-EMPTY", "-NOT",
+ "-COUNT", "-DAG", "-LABEL"};
+
----------------
klensy wrote:
Which place exactly? I don't very knowledgeable about codebase.
https://github.com/llvm/llvm-project/pull/92248
More information about the llvm-commits
mailing list