1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib/Target/PowerPC/MCTargetDesc
Duncan P. N. Exon Smith 91136071cc 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 [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp Replace string GNU Triples with llvm::Triple in MCAsmBackend subclasses and create*AsmBackend(). NFC. 2015-06-10 10:35:34 +00:00
PPCELFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PPCFixupKinds.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PPCMachObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PPCMCAsmInfo.cpp Use the generic Lfunc_begin label on ppc. 2015-03-05 18:55:50 +00:00
PPCMCAsmInfo.h Recommit r224935 with a fix for the ObjC++/AArch64 bug that that revision 2015-01-09 18:55:42 +00:00
PPCMCCodeEmitter.cpp Clean up redundant copies of Triple objects. NFC 2015-06-16 15:44:21 +00:00
PPCMCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
PPCMCExpr.h MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
PPCMCTargetDesc.cpp MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
PPCMCTargetDesc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
PPCPredicates.cpp Add CR-bit tracking to the PowerPC backend for i1 values 2014-02-28 00:27:01 +00:00
PPCPredicates.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00