1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
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
..
2014-03-29 10:18:08 +00:00
2015-06-23 20:57:26 +00:00
2014-06-08 22:29:17 +00:00
2014-10-16 20:00:02 +00:00
2013-01-02 09:10:48 +00:00
2012-01-26 22:06:23 +00:00
2014-01-24 17:20:08 +00:00