[AIX] Address comment https://reviews.llvm.org/D76162#inline-701237
authordiggerlin <digger.llvm@gmail.com>
Fri, 27 Mar 2020 20:21:53 +0000 (16:21 -0400)
committerdiggerlin <digger.llvm@gmail.com>
Fri, 27 Mar 2020 20:21:53 +0000 (16:21 -0400)
SUMMARY:

Address clang format issue:

"clang format this block, I don't think the spaces are aligned correctly."

Subscribers: wuzish, nemanjai, hiraditya

Differential Revision: https://reviews.llvm.org/D76162

llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

index 836a1a6..4e39873 100644 (file)
@@ -1565,12 +1565,12 @@ void PPCAIXAsmPrinter::ValidateGV(const GlobalVariable *GV) {
 
 const MCExpr *PPCAIXAsmPrinter::lowerConstant(const Constant *CV) {
   if (const Function *F = dyn_cast<Function>(CV)) {
-      MCSectionXCOFF *Csect = cast<MCSectionXCOFF>(
-          F->isDeclaration()
-              ? getObjFileLowering().getSectionForExternalReference(F, TM)
-              : getObjFileLowering().getSectionForFunctionDescriptor(F, TM));
+    MCSectionXCOFF *Csect = cast<MCSectionXCOFF>(
+        F->isDeclaration()
+            ? getObjFileLowering().getSectionForExternalReference(F, TM)
+            : getObjFileLowering().getSectionForFunctionDescriptor(F, TM));
 
-      return MCSymbolRefExpr::create(Csect->getQualNameSymbol(), OutContext);
+    return MCSymbolRefExpr::create(Csect->getQualNameSymbol(), OutContext);
   }
   return PPCAsmPrinter::lowerConstant(CV);
 }