From: Reid Spencer Date: Tue, 22 Aug 2006 18:03:02 +0000 (+0000) Subject: Fix another occurrence of inverted logic on the result of MappedFile::map X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1cb6057bf39c5ab3e908d55bcdd4004802230876;p=oota-llvm.git Fix another occurrence of inverted logic on the result of MappedFile::map git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29828 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Debugger/SourceFile.cpp b/lib/Debugger/SourceFile.cpp index 799231fc8dd..ebea307be46 100644 --- a/lib/Debugger/SourceFile.cpp +++ b/lib/Debugger/SourceFile.cpp @@ -20,7 +20,7 @@ using namespace llvm; /// void SourceFile::readFile() { std::string ErrMsg; - if (File.map(&ErrMsg)) + if (!File.map(&ErrMsg)) throw ErrMsg; }