Skip to content

Commit 1242018

Browse files
author
Georgii Rymar
committed
[FileCheck] - Refine the comment. NFC.
It did not mention the `--implicit-check-not` before, though it should (https://reviews.llvm.org/D78024#inline-715166).
1 parent d790bd3 commit 1242018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Support/FileCheck.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1398,8 +1398,8 @@ bool FileCheck::readCheckFile(SourceMgr &SM, StringRef Buffer,
13981398
DagNotMatches = ImplicitNegativeChecks;
13991399
}
14001400

1401-
// Add an EOF pattern for any trailing CHECK-DAG/-NOTs, and use the first
1402-
// prefix as a filler for the error message.
1401+
// Add an EOF pattern for any trailing --implicit-check-not/CHECK-DAG/-NOTs,
1402+
// and use the first prefix as a filler for the error message.
14031403
if (!DagNotMatches.empty()) {
14041404
CheckStrings->emplace_back(
14051405
Pattern(Check::CheckEOF, PatternContext.get(), LineNumber + 1),

0 commit comments

Comments
 (0)