[llvm] 1242018 - [FileCheck] - Refine the comment. NFC.
Georgii Rymar via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 06:58:09 PDT 2020
Author: Georgii Rymar
Date: 2020-04-15T16:57:44+03:00
New Revision: 1242018033a7f1a3b4a1a830746afaa7b6719c07
URL: https://github.com/llvm/llvm-project/commit/1242018033a7f1a3b4a1a830746afaa7b6719c07
DIFF: https://github.com/llvm/llvm-project/commit/1242018033a7f1a3b4a1a830746afaa7b6719c07.diff
LOG: [FileCheck] - Refine the comment. NFC.
It did not mention the `--implicit-check-not` before,
though it should (https://reviews.llvm.org/D78024#inline-715166).
Added:
Modified:
llvm/lib/Support/FileCheck.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/FileCheck.cpp b/llvm/lib/Support/FileCheck.cpp
index 08c0e8f70c95..0913b97fcdd0 100644
--- a/llvm/lib/Support/FileCheck.cpp
+++ b/llvm/lib/Support/FileCheck.cpp
@@ -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),
More information about the llvm-commits
mailing list