Skip to content

Commit 7ddd34b

Browse files
Fixed the formatting.
1 parent 567dfb7 commit 7ddd34b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5014,8 +5014,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
50145014
Args.AddLastArg(CmdArgs, options::OPT_fthinlto_index_EQ);
50155015
}
50165016

5017-
if (const Arg *A = Args.getLastArg(options::OPT_mregnames,
5018-
options::OPT_mno_regnames)) {
5017+
if (const Arg *A =
5018+
Args.getLastArg(options::OPT_mregnames, options::OPT_mno_regnames)) {
50195019
if (A->getOption().matches(options::OPT_mregnames))
50205020
Args.AddLastArg(CmdArgs, options::OPT_mregnames);
50215021
}

llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,9 @@ bool PPCInstPrinter::showRegistersWithPercentPrefix(const char *RegName) const {
614614

615615
/// getVerboseConditionalRegName - This method expands the condition register
616616
/// when requested explicitly or targetting Darwin.
617-
const char *PPCInstPrinter::getVerboseConditionRegName(
618-
unsigned RegNum, unsigned RegEncoding) const {
617+
const char *
618+
PPCInstPrinter::getVerboseConditionRegName(unsigned RegNum,
619+
unsigned RegEncoding) const {
619620
if (!FullRegNames && !MAI.useFullRegisterNames())
620621
return nullptr;
621622
if (RegNum < PPC::CR0EQ || RegNum > PPC::CR7UN)
@@ -636,8 +637,7 @@ const char *PPCInstPrinter::getVerboseConditionRegName(
636637
// showRegistersWithPrefix - This method determines whether registers
637638
// should be number-only or include the prefix.
638639
bool PPCInstPrinter::showRegistersWithPrefix() const {
639-
return FullRegNamesWithPercent || FullRegNames ||
640-
MAI.useFullRegisterNames();
640+
return FullRegNamesWithPercent || FullRegNames || MAI.useFullRegisterNames();
641641
}
642642

643643
void PPCInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,

0 commit comments

Comments
 (0)