llvm-6502/lib/Target/Hexagon/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 [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonAsmBackend.cpp [Hexagon] Adding decoders for signed operands and ensuring all signed operand types disassemble correctly. 2015-06-10 16:52:32 +00:00
HexagonBaseInfo.h
HexagonELFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonFixupKinds.h
HexagonInstPrinter.cpp
HexagonInstPrinter.h
HexagonMCAsmInfo.cpp
HexagonMCAsmInfo.h
HexagonMCCodeEmitter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCCodeEmitter.h [Hexagon] Moving pass declarations out of header and in to implementation files. Removing unused function getSubtargetInfo from HexagonMCCodeEmitter.cpp Removing deletion of copy construction and assignment operator since parent already deletes it. 2015-06-15 19:05:35 +00:00
HexagonMCCompound.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCDuplexInfo.cpp Remove duplicate conditional in if-stmt. 2015-06-15 20:16:53 +00:00
HexagonMCELFStreamer.cpp [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonMCELFStreamer.h [Hexagon] Adding MC ELF streamer and updating addend relocation test which shows correct ELF symbol. 2015-06-17 03:06:16 +00:00
HexagonMCInstrInfo.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCInstrInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCShuffler.cpp
HexagonMCShuffler.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonMCTargetDesc.cpp MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
HexagonMCTargetDesc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
HexagonShuffler.cpp Hexagon: Paper over the undefined behaviour introduced by r238692 2015-06-24 07:03:07 +00:00
HexagonShuffler.h Hexagon: Paper over the undefined behaviour introduced by r238692 2015-06-24 07:03:07 +00:00
LLVMBuild.txt
Makefile