From 156a864324c59cdd1260e2c97f2c069a40b2e5c4 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Thu, 8 Feb 2018 20:04:22 +0000 Subject: [PATCH] Fix improper indentation issue in CodeGenModule [NFC] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@324644 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 9e42aa2750..7a93123a54 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -1264,8 +1264,8 @@ void CodeGenModule::setNonAliasAttributes(const Decl *D, if (auto *F = dyn_cast(GO)) { if (auto *SA = D->getAttr()) - if (!D->getAttr()) - F->addFnAttr("implicit-section-name", SA->getName()); + if (!D->getAttr()) + F->addFnAttr("implicit-section-name", SA->getName()); } if (const SectionAttr *SA = D->getAttr()) -- 2.40.0