[C++] Use 'nullptr'. Tools edition.
llvm-svn: 207176
This commit is contained in:
@@ -94,7 +94,7 @@ int main(int argc, char **argv) {
|
||||
// Parse the file now...
|
||||
SMDiagnostic Err;
|
||||
std::unique_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
|
||||
if (M.get() == 0) {
|
||||
if (!M.get()) {
|
||||
Err.print(argv[0], errs());
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user