File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ class MCSymbolizer {
46
46
47
47
public:
48
48
// / \brief Construct an MCSymbolizer, taking ownership of \p RelInfo.
49
- MCSymbolizer (MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo);
49
+ MCSymbolizer (MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo)
50
+ : Ctx(Ctx), RelInfo(std::move(RelInfo)) {}
51
+
50
52
virtual ~MCSymbolizer ();
51
53
52
54
// / \brief Try to add a symbolic operand instead of \p Value to the MCInst.
Original file line number Diff line number Diff line change 8
8
// ===----------------------------------------------------------------------===//
9
9
10
10
#include " llvm/MC/MCSymbolizer.h"
11
- #include " llvm/MC/MCRelocationInfo.h"
12
11
13
12
using namespace llvm ;
14
13
15
- MCSymbolizer::MCSymbolizer (MCContext &Ctx,
16
- std::unique_ptr<MCRelocationInfo> RelInfo)
17
- : Ctx(Ctx), RelInfo(std::move(RelInfo)) {}
18
-
19
14
MCSymbolizer::~MCSymbolizer () {
20
15
}
You can’t perform that action at this time.
0 commit comments