llvm-6502/lib/Target/Mips/MCTargetDesc
Duncan P. N. Exon Smith 16859aa242 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241957 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-10 22:43:42 +00:00
..
CMakeLists.txt MipsABIInfo class is used in different libraries. Moving the files to MCTargetDesc folder(LLVMMipsDesc library) prevents linkage errors. There are no functional changes. 2014-12-17 11:49:56 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile Test commit 2012-06-09 00:27:55 +00:00
MipsABIFlagsSection.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsABIFlagsSection.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsABIInfo.cpp Clean up redundant copies of Triple objects. NFC 2015-06-16 15:44:21 +00:00
MipsABIInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsAsmBackend.cpp [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
MipsAsmBackend.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsBaseInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsELFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsELFStreamer.cpp Bring back r239006 with a fix. 2015-06-04 05:59:23 +00:00
MipsELFStreamer.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
MipsFixupKinds.h Recommit r232027 with PR22883 fixed: Add infrastructure for support of multiple memory constraints. 2015-03-13 12:45:09 +00:00
MipsMCAsmInfo.cpp Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
MipsMCAsmInfo.h Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
MipsMCCodeEmitter.cpp [mips64] Emit correct addend for some PC-relative relocations 2015-06-23 13:54:42 +00:00
MipsMCCodeEmitter.h MC: Update MCCodeEmitter naming. NFC. 2015-05-15 19:13:16 +00:00
MipsMCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MipsMCExpr.h MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
MipsMCNaCl.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsMCTargetDesc.cpp MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
MipsMCTargetDesc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsNaClELFStreamer.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsOptionRecord.cpp [mips] Add COP0 register class and use it in M[FT]C0/DM[FT]C0. 2015-06-27 15:39:19 +00:00
MipsTargetStreamer.cpp [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00