[FileCheck] - Refine the comment. NFC.
authorGeorgii Rymar <grimar@accesssoftek.com>
Wed, 15 Apr 2020 13:55:48 +0000 (16:55 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Wed, 15 Apr 2020 13:57:44 +0000 (16:57 +0300)
It did not mention the `--implicit-check-not` before,
though it should (https://reviews.llvm.org/D78024#inline-715166).

llvm/lib/Support/FileCheck.cpp

index 08c0e8f..0913b97 100644 (file)
@@ -1398,8 +1398,8 @@ bool FileCheck::readCheckFile(SourceMgr &SM, StringRef Buffer,
     DagNotMatches = ImplicitNegativeChecks;
   }
 
-  // Add an EOF pattern for any trailing CHECK-DAG/-NOTs, and use the first
-  // prefix as a filler for the error message.
+  // Add an EOF pattern for any trailing --implicit-check-not/CHECK-DAG/-NOTs,
+  // and use the first prefix as a filler for the error message.
   if (!DagNotMatches.empty()) {
     CheckStrings->emplace_back(
         Pattern(Check::CheckEOF, PatternContext.get(), LineNumber + 1),