}
/// Constructs a TargetData from a specification string. See init().
- TargetData(const std::string &TargetDescription)
+ explicit TargetData(const std::string &TargetDescription)
: ImmutablePass((intptr_t)&ID) {
init(TargetDescription);
}
/// Initialize target data from properties stored in the module.
- TargetData(const Module *M);
+ explicit TargetData(const Module *M);
TargetData(const TargetData &TD) :
ImmutablePass((intptr_t)&ID),
std::vector<Function*> AtExitHandlers;
public:
- Interpreter(Module *M);
+ explicit Interpreter(Module *M);
~Interpreter();
/// runAtExitHandlers - Run any functions registered by the program's calls to
class ARMFrameInfo : public TargetFrameInfo {
public:
- ARMFrameInfo(const ARMSubtarget &ST)
+ explicit ARMFrameInfo(const ARMSubtarget &ST)
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
}
};
class CallingConvEmitter : public TableGenBackend {
RecordKeeper &Records;
public:
- CallingConvEmitter(RecordKeeper &R) : Records(R) {}
+ explicit CallingConvEmitter(RecordKeeper &R) : Records(R) {}
// run - Output the asmwriter, returning true on failure.
void run(std::ostream &o);