1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/lib/Target/AArch64/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
..
AArch64AddressingModes.h
AArch64AsmBackend.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
AArch64ELFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
AArch64ELFStreamer.cpp Where Triple has a suitable predicate, use it rather than the enum values. NFC. 2015-07-06 16:33:18 +00:00
AArch64ELFStreamer.h Use raw_pwrite_stream in the object writer/streamer. 2015-04-14 22:14:34 +00:00
AArch64FixupKinds.h
AArch64MachObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
AArch64MCAsmInfo.cpp Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
AArch64MCAsmInfo.h Replace string GNU Triples with llvm::Triple in MCAsmInfo subclasses and create*AsmInfo(). NFC. 2015-06-04 13:12:25 +00:00
AArch64MCCodeEmitter.cpp Replace custom fixed endian to raw_ostream emission with EndianStream. 2015-06-04 15:03:02 +00:00
AArch64MCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
AArch64MCExpr.h MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
AArch64MCTargetDesc.cpp MC: Remove MCSubtargetInfo() default constructor 2015-07-10 22:43:42 +00:00
AArch64MCTargetDesc.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
AArch64TargetStreamer.cpp [AArch64] Move AArch64TargetStreamer out of MCStreamer.h 2015-05-23 16:15:10 +00:00
AArch64TargetStreamer.h [AArch64] Move AArch64TargetStreamer out of MCStreamer.h 2015-05-23 16:15:10 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile