[llvm] [FileCheck] improve prefix validation (PR #92248)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 06:22:53 PDT 2024
================
@@ -2486,6 +2489,14 @@ static bool ValidatePrefixes(StringRef Kind, StringSet<> &UniquePrefixes,
<< "check and comment prefixes: '" << Prefix << "'\n";
return false;
}
+ for (StringRef Directive : Directives) {
----------------
jh7370 wrote:
What's the motivation for this part of the change? Has it caused issues?
If we are doing this, a test should be added to the FileCheck test suite.
https://github.com/llvm/llvm-project/pull/92248
More information about the llvm-commits
mailing list