From: Chris Lattner Date: Thu, 9 Jul 2009 00:19:21 +0000 (+0000) Subject: stop on the first file mismatch. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af9005ddda7809a4ca1900d83fb349d52ef50c48;p=oota-llvm.git stop on the first file mismatch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75076 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp index 9611d24dee8..da14780acfc 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;