aboutsummaryrefslogtreecommitdiffstats
path: root/utils/FileCheck
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-09 00:19:21 +0000
committerChris Lattner <sabre@nondot.org>2009-07-09 00:19:21 +0000
commitaf9005ddda7809a4ca1900d83fb349d52ef50c48 (patch)
treea023cde21c173b9d54a438a44f9720d2badf3777 /utils/FileCheck
parent600f17583459c443c9f3bfd7d9bb6dc9a3e93a44 (diff)
downloadexternal_llvm-af9005ddda7809a4ca1900d83fb349d52ef50c48.zip
external_llvm-af9005ddda7809a4ca1900d83fb349d52ef50c48.tar.gz
external_llvm-af9005ddda7809a4ca1900d83fb349d52ef50c48.tar.bz2
stop on the first file mismatch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/FileCheck')
-rw-r--r--utils/FileCheck/FileCheck.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp
index 9611d24..da14780 100644
--- a/utils/FileCheck/FileCheck.cpp
+++ b/utils/FileCheck/FileCheck.cpp
@@ -168,6 +168,7 @@ int main(int argc, char **argv) {
"error");
SM.PrintMessage(SMLoc::getFromPointer(CurPtr), "scanning from here",
"note");
+ return 1;
}
return 0;