Skip to content

Commit 67a0f19

Browse files
committed
Apply git clang format changes
1 parent 04e5e72 commit 67a0f19

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -411,14 +411,16 @@ bool PPCAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
411411
bool PPCAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
412412
const char *ExtraCode,
413413
raw_ostream &O) {
414-
auto reportAsmMemError = [&] (StringRef errMsg) {
414+
auto reportAsmMemError = [&](StringRef errMsg) {
415415
const char *AsmStr = MI->getOperand(0).getSymbolName();
416416
const MDNode *LocMD = MI->getLocCookieMD();
417-
uint64_t LocCookie = LocMD ?
418-
mdconst::extract<ConstantInt>(LocMD->getOperand(0))->getZExtValue() : 0;
417+
uint64_t LocCookie =
418+
LocMD ? mdconst::extract<ConstantInt>(LocMD->getOperand(0))
419+
->getZExtValue()
420+
: 0;
419421
const Function &Fn = MI->getMF()->getFunction();
420-
Fn.getContext().diagnose(DiagnosticInfoInlineAsm(
421-
LocCookie, errMsg + Twine(AsmStr) + "'"));
422+
Fn.getContext().diagnose(
423+
DiagnosticInfoInlineAsm(LocCookie, errMsg + Twine(AsmStr) + "'"));
422424
return true;
423425
};
424426
if (ExtraCode && ExtraCode[0]) {

0 commit comments

Comments
 (0)