aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-07-10 22:43:42 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-07-10 22:43:42 +0000
commit754e21f24462b5690707580d5f14220ea363ee19 (patch)
treebecc3083c9af013863bec6c056d8da39d9d435a6 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parentbb57d73805449f9c36de2bd14a44e8cd4ff36d4a (diff)
downloadllvm-754e21f24462b5690707580d5f14220ea363ee19.zip
llvm-754e21f24462b5690707580d5f14220ea363ee19.tar.gz
llvm-754e21f24462b5690707580d5f14220ea363ee19.tar.bz2
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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions