From 30994d24489d9e7ecd6d02d25d181f5da10a182c Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Thu, 8 Feb 2018 20:04:22 +0000 Subject: Fix improper indentation issue in CodeGenModule [NFC] llvm-svn: 324644 --- clang/lib/CodeGen/CodeGenModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 9e42aa2750f..7a93123a549 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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()) -- cgit v1.2.3