aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorFedor Sergeev <fedor.sergeev@azul.com>2018-11-13 01:09:53 +0000
committerFedor Sergeev <fedor.sergeev@azul.com>2018-11-13 01:09:53 +0000
commit8477a3ef1d209858ced4d7a75efd78636540df20 (patch)
treeb4791336d857f877f9cd058a4ef6518f8aceb8ad /llvm/lib/Support/FileCheck.cpp
parent6c9e19b504f456090ff0060288e3d851ac3ad666 (diff)
downloadllvm-8477a3ef1d209858ced4d7a75efd78636540df20.zip
llvm-8477a3ef1d209858ced4d7a75efd78636540df20.tar.gz
llvm-8477a3ef1d209858ced4d7a75efd78636540df20.tar.bz2
[FileCheck] fixing typo in assert
llvm-svn: 346723
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
-rw-r--r--llvm/lib/Support/FileCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/FileCheck.cpp b/llvm/lib/Support/FileCheck.cpp
index ca09c5d..bad8ea2 100644
--- a/llvm/lib/Support/FileCheck.cpp
+++ b/llvm/lib/Support/FileCheck.cpp
@@ -536,7 +536,7 @@ static bool IsPartOfWord(char c) {
}
Check::FileCheckType &Check::FileCheckType::setCount(int C) {
- assert(Count > 0 || "zero and negative counts are not supported");
+ assert(Count > 0 && "zero and negative counts are not supported");
assert((C == 1 || Kind == CheckPlain) &&
"count supported only for plain CHECK directives");
Count = C;