]> granicus.if.org Git - clang/commitdiff
Fix improper indentation issue in CodeGenModule [NFC]
authorErich Keane <erich.keane@intel.com>
Thu, 8 Feb 2018 20:04:22 +0000 (20:04 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 8 Feb 2018 20:04:22 +0000 (20:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324644 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index 9e42aa2750f55cd18e46594cf566f8d265aa7efe..7a93123a549b7e48dc165335296b1f3a5d8d236e 100644 (file)
@@ -1264,8 +1264,8 @@ void CodeGenModule::setNonAliasAttributes(const Decl *D,
 
     if (auto *F = dyn_cast<llvm::Function>(GO)) {
       if (auto *SA = D->getAttr<PragmaClangTextSectionAttr>())
-       if (!D->getAttr<SectionAttr>())
-         F->addFnAttr("implicit-section-name", SA->getName());
+        if (!D->getAttr<SectionAttr>())
+          F->addFnAttr("implicit-section-name", SA->getName());
     }
 
     if (const SectionAttr *SA = D->getAttr<SectionAttr>())