llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc
Duncan P. N. Exon Smith 754e21f244 MC: Remove MCSubtargetInfo() default constructor
Force all creators of `MCSubtargetInfo` to immediately initialize it,
merging the default constructor and the initializer into an initializing
constructor.  Besides cleaning up the code a little, this makes it clear
that the initializer is never called again later.

Out-of-tree backends need a trivial change: instead of calling:

    auto *X = new MCSubtargetInfo();
    InitXYZMCSubtargetInfo(X, ...);
    return X;

they should call:

    return createXYZMCSubtargetInfoImpl(...);

There's no real functionality change here.

llvm-svn: 241957
2015-07-10 22:43:42 +00:00
..
CMakeLists.txt
LLVMBuild.txt LLVMBuild.txt: Reformat. 2014-04-10 11:16:17 +00:00
Makefile
SystemZMCAsmBackend.cpp Replace string GNU Triples with llvm::Triple in MCAsmBackend subclasses and create*AsmBackend(). NFC. 2015-06-10 10:35:34 +00:00
SystemZMCAsmInfo.cpp Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
SystemZMCAsmInfo.h Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
SystemZMCCodeEmitter.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
SystemZMCFixups.h [SystemZ] Support all TLS access models - MC part 2015-02-18 09:11:36 +00:00
SystemZMCObjectWriter.cpp Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
SystemZMCTargetDesc.cpp MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
SystemZMCTargetDesc.h Replace string GNU Triples with llvm::Triple in MCAsmBackend subclasses and create*AsmBackend(). NFC. 2015-06-10 10:35:34 +00:00