[PATCH] D13406: [Clang] Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups.
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 16:42:35 PDT 2015
hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: lib/Sema/SemaDeclObjC.cpp:510
@@ -509,3 +509,3 @@
- if (PrevDecl && SuperClassDecl == 0) {
+ if (PrevDecl && (!SuperClassDecl)) {
// The previous declaration was not a class decl. Check if we have a
----------------
I don't think the extra parentheses are customary here.
Repository:
rL LLVM
http://reviews.llvm.org/D13406
More information about the cfe-commits
mailing list