r220370 - Fix style issue from r220363. No functional change.

Richard Trieu rtrieu at google.com
Tue Oct 21 22:21:59 PDT 2014


Author: rtrieu
Date: Wed Oct 22 00:21:59 2014
New Revision: 220370

URL: http://llvm.org/viewvc/llvm-project?rev=220370&view=rev
Log:
Fix style issue from r220363.  No functional change.

Modified:
    cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=220370&r1=220369&r2=220370&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Wed Oct 22 00:21:59 2014
@@ -2525,7 +2525,7 @@ namespace {
 
     const CXXRecordDecl *RD = Constructor->getParent();
 
-    if (RD->getDescribedClassTemplate() != nullptr)
+    if (RD->getDescribedClassTemplate())
       return;
 
     // Holds fields that are uninitialized.





More information about the cfe-commits mailing list