projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++] Use 'nullptr'. Tools edition.
[oota-llvm.git]
/
tools
/
llvm-as
/
llvm-as.cpp
diff --git
a/tools/llvm-as/llvm-as.cpp
b/tools/llvm-as/llvm-as.cpp
index 7583b121b45c9095bcdf95ece090d03e747ca8dc..70c95080e902792dad9055a4010f1cf0097c61c6 100644
(file)
--- a/
tools/llvm-as/llvm-as.cpp
+++ b/
tools/llvm-as/llvm-as.cpp
@@
-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;
}