mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 04:41:34 +00:00
Fix another occurrence of inverted logic on the result of MappedFile::map
llvm-svn: 29828
This commit is contained in:
parent
c9c2bf5af1
commit
999de6b300
@ -20,7 +20,7 @@ using namespace llvm;
|
||||
///
|
||||
void SourceFile::readFile() {
|
||||
std::string ErrMsg;
|
||||
if (File.map(&ErrMsg))
|
||||
if (!File.map(&ErrMsg))
|
||||
throw ErrMsg;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user