r358733 - Fix overly-long line after r358731.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 18 19:46:50 PDT 2019


Author: rsmith
Date: Thu Apr 18 19:46:50 2019
New Revision: 358733

URL: http://llvm.org/viewvc/llvm-project?rev=358733&view=rev
Log:
Fix overly-long line after r358731.

Modified:
    cfe/trunk/lib/AST/Decl.cpp

Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=358733&r1=358732&r2=358733&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Thu Apr 18 19:46:50 2019
@@ -603,8 +603,8 @@ static LinkageInfo getExternalLinkageFor
   //   - A name declared at namespace scope that does not have internal linkage
   //     by the previous rules and that is introduced by a non-exported
   //     declaration has module linkage.
-  if (isInModulePurview(D) &&
-      !isExportedFromModuleInterfaceUnit(cast<NamedDecl>(D->getCanonicalDecl())))
+  if (isInModulePurview(D) && !isExportedFromModuleInterfaceUnit(
+                                  cast<NamedDecl>(D->getCanonicalDecl())))
     return LinkageInfo(ModuleLinkage, DefaultVisibility, false);
 
   return LinkageInfo::external();




More information about the cfe-commits mailing list