mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-14 06:37:33 +00:00
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
209ee187c9
commit
f452207d20
@ -115,13 +115,13 @@ public:
|
||||
}
|
||||
|
||||
/// 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),
|
||||
|
@ -94,7 +94,7 @@ class Interpreter : public ExecutionEngine, public InstVisitor<Interpreter> {
|
||||
std::vector<Function*> AtExitHandlers;
|
||||
|
||||
public:
|
||||
Interpreter(Module *M);
|
||||
explicit Interpreter(Module *M);
|
||||
~Interpreter();
|
||||
|
||||
/// runAtExitHandlers - Run any functions registered by the program's calls to
|
||||
|
@ -23,7 +23,7 @@ namespace llvm {
|
||||
|
||||
class ARMFrameInfo : public TargetFrameInfo {
|
||||
public:
|
||||
ARMFrameInfo(const ARMSubtarget &ST)
|
||||
explicit ARMFrameInfo(const ARMSubtarget &ST)
|
||||
: TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
|
||||
}
|
||||
};
|
||||
|
@ -24,7 +24,7 @@ namespace llvm {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user