[PATCH] D53710: [FileCheck] Warn if a prefix is only used in LABEL checks
Joel E. Denny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 25 09:27:48 PDT 2018
jdenny added inline comments.
================
Comment at: lib/Support/FileCheck.cpp:852
+ SourceMgr::DK_Note,
+ "Prefix " + MatchedPrefix + " only occurs in a LABEL check, "
+ "this is probably not what you want");
----------------
This implies that your check is per prefix. FileCheck can be run with multiple prefixes at the same time, and I don't think there should be a warning unless none of the prefixes have non-label directives.
https://reviews.llvm.org/D53710
More information about the llvm-commits
mailing list