[PATCH] D13891: Apply modernize-use-default to llvm.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 05:36:58 PDT 2015


angelgarcia created this revision.
angelgarcia added a reviewer: klimek.
angelgarcia added subscribers: alexfh, cfe-commits.
Herald added subscribers: dsanders, jyknight, arsenm, dschuff, qcolombet, MatzeB, jfb, jholewinski.

Replace empty bodies of default constructors and destructors with '= default'.

Manually remove an extra semicolon in lib/Target/Mips/MipsOptionRecord.h:33.

http://reviews.llvm.org/D13891

Files:
  examples/Kaleidoscope/Chapter2/toy.cpp
  examples/Kaleidoscope/Chapter3/toy.cpp
  examples/Kaleidoscope/Chapter4/toy.cpp
  examples/Kaleidoscope/Chapter5/toy.cpp
  examples/Kaleidoscope/Chapter6/toy.cpp
  examples/Kaleidoscope/Chapter7/toy.cpp
  examples/Kaleidoscope/Chapter8/toy.cpp
  examples/Kaleidoscope/Orc/fully_lazy/toy.cpp
  examples/Kaleidoscope/Orc/initial/toy.cpp
  examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp
  examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp
  include/llvm/ADT/DAGDeltaAlgorithm.h
  include/llvm/ADT/DepthFirstIterator.h
  include/llvm/ADT/EquivalenceClasses.h
  include/llvm/ADT/ImmutableSet.h
  include/llvm/ADT/IntervalMap.h
  include/llvm/ADT/IntrusiveRefCntPtr.h
  include/llvm/ADT/PointerUnion.h
  include/llvm/ADT/PostOrderIterator.h
  include/llvm/ADT/SCCIterator.h
  include/llvm/ADT/SetVector.h
  include/llvm/ADT/SmallSet.h
  include/llvm/ADT/SmallString.h
  include/llvm/ADT/SparseBitVector.h
  include/llvm/ADT/StringMap.h
  include/llvm/ADT/TinyPtrVector.h
  include/llvm/ADT/ilist.h
  include/llvm/Analysis/AliasAnalysis.h
  include/llvm/Analysis/AssumptionCache.h
  include/llvm/Analysis/BlockFrequencyInfoImpl.h
  include/llvm/Analysis/DependenceAnalysis.h
  include/llvm/Analysis/IntervalIterator.h
  include/llvm/Analysis/LoopInfo.h
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/CodeGen/GCStrategy.h
  include/llvm/CodeGen/LiveRangeEdit.h
  include/llvm/CodeGen/MachineConstantPool.h
  include/llvm/CodeGen/MachineFunctionInitializer.h
  include/llvm/CodeGen/MachinePassRegistry.h
  include/llvm/CodeGen/MachineRegisterInfo.h
  include/llvm/CodeGen/MachineScheduler.h
  include/llvm/CodeGen/ScheduleDAG.h
  include/llvm/CodeGen/ScheduleDAGInstrs.h
  include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  include/llvm/DebugInfo/DIContext.h
  include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
  include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
  include/llvm/ExecutionEngine/JITEventListener.h
  include/llvm/ExecutionEngine/ObjectCache.h
  include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
  include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
  include/llvm/ExecutionEngine/RuntimeDyld.h
  include/llvm/IR/CFG.h
  include/llvm/IR/ConstantFolder.h
  include/llvm/IR/DebugInfoMetadata.h
  include/llvm/IR/DiagnosticInfo.h
  include/llvm/IR/DiagnosticPrinter.h
  include/llvm/IR/GVMaterializer.h
  include/llvm/IR/GetElementPtrTypeIterator.h
  include/llvm/IR/InstIterator.h
  include/llvm/IR/InstrTypes.h
  include/llvm/IR/NoFolder.h
  include/llvm/IR/PassManager.h
  include/llvm/IR/PassManagerInternal.h
  include/llvm/IR/SymbolTableListTraits.h
  include/llvm/IR/TrackingMDRef.h
  include/llvm/IR/User.h
  include/llvm/IR/Value.h
  include/llvm/MC/MCELFObjectWriter.h
  include/llvm/MC/MCExpr.h
  include/llvm/MC/MCInstrAnalysis.h
  include/llvm/MC/MCParser/MCParsedAsmOperand.h
  include/llvm/MC/MCWinCOFFObjectWriter.h
  include/llvm/MC/MCWinEH.h
  include/llvm/Object/Binary.h
  include/llvm/PassSupport.h
  include/llvm/ProfileData/CoverageMappingReader.h
  include/llvm/ProfileData/InstrProfReader.h
  include/llvm/ProfileData/SampleProfReader.h
  include/llvm/ProfileData/SampleProfWriter.h
  include/llvm/Support/AlignOf.h
  include/llvm/Support/CommandLine.h
  include/llvm/Support/ManagedStatic.h
  include/llvm/Support/MemoryBuffer.h
  include/llvm/Support/YAMLTraits.h
  include/llvm/Support/raw_ostream.h
  include/llvm/TableGen/Record.h
  include/llvm/TableGen/SetTheory.h
  include/llvm/Target/TargetLowering.h
  include/llvm/Transforms/Utils/Cloning.h
  include/llvm/Transforms/Utils/SSAUpdater.h
  include/llvm/Transforms/Utils/SimplifyIndVar.h
  include/llvm/Transforms/Utils/SymbolRewriter.h
  include/llvm/Transforms/Utils/ValueMapper.h
  lib/Analysis/AliasAnalysis.cpp
  lib/Analysis/AssumptionCache.cpp
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/Analysis/CFLAliasAnalysis.cpp
  lib/Analysis/CallGraph.cpp
  lib/Analysis/CaptureTracking.cpp
  lib/Analysis/InlineCost.cpp
  lib/Analysis/MemoryDependenceAnalysis.cpp
  lib/Analysis/RegionInfo.cpp
  lib/Analysis/SparsePropagation.cpp
  lib/Analysis/StratifiedSets.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/CodeGen/AsmPrinter/ARMException.cpp
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfExpression.h
  lib/CodeGen/AsmPrinter/EHStreamer.cpp
  lib/CodeGen/AsmPrinter/WinException.cpp
  lib/CodeGen/CodeGenPrepare.cpp
  lib/CodeGen/CriticalAntiDepBreaker.cpp
  lib/CodeGen/GCMetadata.cpp
  lib/CodeGen/GCMetadataPrinter.cpp
  lib/CodeGen/InlineSpiller.cpp
  lib/CodeGen/MIRParser/MIRParser.cpp
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineBlockFrequencyInfo.cpp
  lib/CodeGen/MachineFunction.cpp
  lib/CodeGen/MachineModuleInfo.cpp
  lib/CodeGen/MachineRegionInfo.cpp
  lib/CodeGen/MachineScheduler.cpp
  lib/CodeGen/MachineTraceMetrics.cpp
  lib/CodeGen/PeepholeOptimizer.cpp
  lib/CodeGen/PostRASchedulerList.cpp
  lib/CodeGen/PseudoSourceValue.cpp
  lib/CodeGen/RegAllocBase.h
  lib/CodeGen/RegAllocPBQP.cpp
  lib/CodeGen/ScheduleDAG.cpp
  lib/CodeGen/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
  lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp
  lib/CodeGen/TargetFrameLoweringImpl.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/CodeGen/TargetRegisterInfo.cpp
  lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
  lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  lib/DebugInfo/PDB/IPDBSourceFile.cpp
  lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp
  lib/DebugInfo/PDB/PDBSymDumper.cpp
  lib/DebugInfo/PDB/PDBSymbol.cpp
  lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/Attributes.cpp
  lib/IR/GVMaterializer.cpp
  lib/IR/InlineAsm.cpp
  lib/IR/Instructions.cpp
  lib/IR/LegacyPassManager.cpp
  lib/IR/Pass.cpp
  lib/IR/PassRegistry.cpp
  lib/IR/ValueSymbolTable.cpp
  lib/LTO/LTOCodeGenerator.cpp
  lib/LTO/LTOModule.cpp
  lib/LineEditor/LineEditor.cpp
  lib/MC/ELFObjectWriter.cpp
  lib/MC/MCAsmBackend.cpp
  lib/MC/MCAsmInfo.cpp
  lib/MC/MCAssembler.cpp
  lib/MC/MCCodeEmitter.cpp
  lib/MC/MCDisassembler/MCDisassembler.cpp
  lib/MC/MCDisassembler/MCRelocationInfo.cpp
  lib/MC/MCELFStreamer.cpp
  lib/MC/MCInstPrinter.cpp
  lib/MC/MCMachObjectTargetWriter.cpp
  lib/MC/MCObjectWriter.cpp
  lib/MC/MCParser/AsmLexer.cpp
  lib/MC/MCParser/AsmParser.cpp
  lib/MC/MCParser/MCAsmLexer.cpp
  lib/MC/MCParser/MCAsmParser.cpp
  lib/MC/MCParser/MCAsmParserExtension.cpp
  lib/MC/MCParser/MCTargetAsmParser.cpp
  lib/MC/MCSection.cpp
  lib/MC/MCSectionCOFF.cpp
  lib/MC/MCSectionELF.cpp
  lib/MC/MCStreamer.cpp
  lib/MC/MCSymbolizer.cpp
  lib/Object/Binary.cpp
  lib/Object/ELFYAML.cpp
  lib/Object/FunctionIndexObjectFile.cpp
  lib/Object/IRObjectFile.cpp
  lib/Object/SymbolicFile.cpp
  lib/Option/OptTable.cpp
  lib/Support/CommandLine.cpp
  lib/Support/CrashRecoveryContext.cpp
  lib/Support/DataStream.cpp
  lib/Support/DeltaAlgorithm.cpp
  lib/Support/MemoryBuffer.cpp
  lib/Support/MemoryObject.cpp
  lib/Support/SpecialCaseList.cpp
  lib/Support/Unix/COM.inc
  lib/Support/YAMLParser.cpp
  lib/Support/YAMLTraits.cpp
  lib/Support/raw_ostream.cpp
  lib/Target/AArch64/AArch64TargetMachine.cpp
  lib/Target/AArch64/Disassembler/AArch64Disassembler.h
  lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
  lib/Target/AArch64/Utils/AArch64BaseInfo.h
  lib/Target/AMDGPU/AMDGPUFrameLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  lib/Target/AMDGPU/R600MachineScheduler.h
  lib/Target/ARM/ARMConstantPoolValue.cpp
  lib/Target/ARM/ARMTargetMachine.cpp
  lib/Target/ARM/Disassembler/ARMDisassembler.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
  lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
  lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
  lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
  lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
  lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
  lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
  lib/Target/Hexagon/BitTracker.h
  lib/Target/Hexagon/HexagonTargetMachine.cpp
  lib/Target/MSP430/MSP430TargetMachine.cpp
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h
  lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
  lib/Target/Mips/MipsDelaySlotFiller.cpp
  lib/Target/Mips/MipsMachineFunction.cpp
  lib/Target/Mips/MipsOptionRecord.h
  lib/Target/Mips/MipsTargetMachine.cpp
  lib/Target/NVPTX/NVPTXSection.h
  lib/Target/NVPTX/NVPTXTargetMachine.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
  lib/Target/PowerPC/PPCTargetMachine.cpp
  lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
  lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
  lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp
  lib/Target/Sparc/SparcTargetMachine.cpp
  lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp
  lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
  lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp
  lib/Target/SystemZ/SystemZTargetMachine.cpp
  lib/Target/TargetIntrinsicInfo.cpp
  lib/Target/TargetLoweringObjectFile.cpp
  lib/Target/TargetSubtargetInfo.cpp
  lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
  (39 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13891.37863.patch
Type: text/x-patch
Size: 160187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151020/68fee972/attachment-0001.bin>


More information about the cfe-commits mailing list