forked from OSchip/llvm-project
[AIX] Address comment https://reviews.llvm.org/D76162#inline-701237
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
This commit is contained in:
parent
348735b723
commit
9c20f09985
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue