Fix overly-long line after r358731.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 19 Apr 2019 02:46:50 +0000 (02:46 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 19 Apr 2019 02:46:50 +0000 (02:46 +0000)
llvm-svn: 358733

clang/lib/AST/Decl.cpp

index 357d06c..e8201fc 100644 (file)
@@ -603,8 +603,8 @@ static LinkageInfo getExternalLinkageFor(const NamedDecl *D) {
   //   - 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();