aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-04-15 16:55:48 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-04-15 16:57:44 +0300
commit1242018033a7f1a3b4a1a830746afaa7b6719c07 (patch)
tree721ffba02bee8f0707cb8174c3847f95ae686ffa /llvm/lib/Support/FileCheck.cpp
parentd790bd3999f7731d7c19defcb2a755a66c609330 (diff)
downloadllvm-1242018033a7f1a3b4a1a830746afaa7b6719c07.zip
llvm-1242018033a7f1a3b4a1a830746afaa7b6719c07.tar.gz
llvm-1242018033a7f1a3b4a1a830746afaa7b6719c07.tar.bz2
[FileCheck] - Refine the comment. NFC.
It did not mention the `--implicit-check-not` before, though it should (https://reviews.llvm.org/D78024#inline-715166).
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
-rw-r--r--llvm/lib/Support/FileCheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/FileCheck.cpp b/llvm/lib/Support/FileCheck.cpp
index 08c0e8f..0913b97 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),