From: Nico Weber Date: Wed, 9 Jan 2019 12:57:52 +0000 (+0000) Subject: [gn build] Run `git ls-files '*.gn' '*.gni' | xargs -n 1 gn format` X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7edabba9cf0ea0276ec22aa97faba757244fe6dd;p=llvm [gn build] Run `git ls-files '*.gn' '*.gni' | xargs -n 1 gn format` Looks like I forgot to do that for the PowerPC target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350711 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/build/toolchain/BUILD.gn b/utils/gn/build/toolchain/BUILD.gn index e1254afc0f5..da60b86e9a9 100644 --- a/utils/gn/build/toolchain/BUILD.gn +++ b/utils/gn/build/toolchain/BUILD.gn @@ -50,8 +50,7 @@ toolchain("unix") { } else { # Remove the output file first so that ar doesn't try to modify the # existing file. - command = - "rm -f {{output}} && ar rcsDT {{arflags}} {{output}} {{inputs}}" + command = "rm -f {{output}} && ar rcsDT {{arflags}} {{output}} {{inputs}}" } description = "AR {{output}}" outputs = [ diff --git a/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn index 84dac6cdb12..268ea485978 100644 --- a/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn @@ -39,37 +39,37 @@ static_library("LLVMPowerPCCodeGen") { ] include_dirs = [ "." ] sources = [ - "PPCBoolRetToInt.cpp", "PPCAsmPrinter.cpp", - "PPCBranchSelector.cpp", + "PPCBoolRetToInt.cpp", "PPCBranchCoalescing.cpp", + "PPCBranchSelector.cpp", "PPCCCState.cpp", "PPCCTRLoops.cpp", - "PPCHazardRecognizers.cpp", - "PPCInstrInfo.cpp", - "PPCISelDAGToDAG.cpp", - "PPCISelLowering.cpp", "PPCEarlyReturn.cpp", + "PPCExpandISEL.cpp", "PPCFastISel.cpp", "PPCFrameLowering.cpp", + "PPCHazardRecognizers.cpp", + "PPCISelDAGToDAG.cpp", + "PPCISelLowering.cpp", + "PPCInstrInfo.cpp", "PPCLoopPreIncPrep.cpp", "PPCMCInstLower.cpp", - "PPCMachineFunctionInfo.cpp", "PPCMIPeephole.cpp", - "PPCRegisterInfo.cpp", + "PPCMachineFunctionInfo.cpp", + "PPCPreEmitPeephole.cpp", "PPCQPXLoadSplat.cpp", + "PPCReduceCRLogicals.cpp", + "PPCRegisterInfo.cpp", "PPCSubtarget.cpp", + "PPCTLSDynamicCall.cpp", + "PPCTOCRegDeps.cpp", "PPCTargetMachine.cpp", "PPCTargetObjectFile.cpp", "PPCTargetTransformInfo.cpp", - "PPCTOCRegDeps.cpp", - "PPCTLSDynamicCall.cpp", "PPCVSXCopy.cpp", - "PPCReduceCRLogicals.cpp", "PPCVSXFMAMutate.cpp", "PPCVSXSwapRemoval.cpp", - "PPCExpandISEL.cpp", - "PPCPreEmitPeephole.cpp", ] } diff --git a/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn index cdbd47ad62e..3b5febf9d8e 100644 --- a/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn @@ -20,4 +20,3 @@ static_library("Disassembler") { "PPCDisassembler.cpp", ] } - diff --git a/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn index fcc9633420d..8d885d6b365 100644 --- a/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn @@ -22,4 +22,3 @@ static_library("InstPrinter") { "PPCInstPrinter.cpp", ] } - diff --git a/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn index e5e01d22404..4425612a3f1 100644 --- a/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn @@ -52,13 +52,12 @@ static_library("MCTargetDesc") { include_dirs = [ ".." ] sources = [ "PPCAsmBackend.cpp", - "PPCMCTargetDesc.cpp", + "PPCELFObjectWriter.cpp", "PPCMCAsmInfo.cpp", "PPCMCCodeEmitter.cpp", "PPCMCExpr.cpp", - "PPCPredicates.cpp", + "PPCMCTargetDesc.cpp", "PPCMachObjectWriter.cpp", - "PPCELFObjectWriter.cpp", + "PPCPredicates.cpp", ] } - diff --git a/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn index fe9a5ef2198..c706924563d 100644 --- a/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn @@ -12,4 +12,3 @@ static_library("TargetInfo") { "PowerPCTargetInfo.cpp", ] } -