]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358733 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Decl.cpp

index 357d06c61286fac24058366a1750bb70e71c8578..e8201fc4ea2c28df0513159e5173ec3df36a03a7 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();