Replace empty bodies of default constructors and destructors with '= default'.
Manually remove an extra semicolon in lib/Target/Mips/MipsOptionRecord.h:33.
Paths
| Differential D13891
Apply modernize-use-default to llvm. AcceptedPublic Authored by angelgarcia on Oct 20 2015, 5:36 AM.
Details
Diff Detail Event Timelineangelgarcia updated this object. Herald added subscribers: dsanders, jyknight, arsenm and 5 others. · View Herald TranscriptOct 20 2015, 5:36 AM bkramer edited edge metadata. Comment ActionsTwo minor comments, otherwise looks good:
This revision is now accepted and ready to land.Oct 27 2015, 11:43 AM
Revision Contents
Diff 37863 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
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
lib/Target/X86/X86MCInstLower.cpp
lib/Target/X86/X86TargetMachine.cpp
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
lib/Target/XCore/XCoreMachineFunctionInfo.h
lib/Target/XCore/XCoreTargetMachine.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp
lib/Transforms/Vectorize/LoopVectorize.cpp
tools/bugpoint/ListReducer.h
tools/bugpoint/ToolRunner.h
tools/lli/RemoteTargetExternal.h
tools/lli/lli.cpp
tools/llvm-cov/CoverageFilters.h
tools/llvm-diff/DiffConsumer.h
tools/llvm-diff/DifferenceEngine.h
tools/llvm-objdump/llvm-objdump.cpp
tools/llvm-readobj/ObjDumper.cpp
tools/llvm-stress/llvm-stress.cpp
unittests/ADT/SmallVectorTest.cpp
unittests/ADT/StringMapTest.cpp
unittests/Support/AlignOfTest.cpp
unittests/Support/AllocatorTest.cpp
unittests/Support/Casting.cpp
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/DAGISelMatcher.h
utils/TableGen/FixedLenDecoderEmitter.cpp
utils/TableGen/X86ModRMFilters.h
utils/unittest/googletest/include/gtest/gtest.h
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h
utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
utils/unittest/googletest/include/gtest/internal/gtest-tuple.h
utils/unittest/googletest/src/gtest-death-test.cc
utils/unittest/googletest/src/gtest-internal-inl.h
utils/unittest/googletest/src/gtest-port.cc
utils/unittest/googletest/src/gtest.cc
|