mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64915 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -48,7 +48,7 @@ namespace llvm {
|
||||
// To make VS STL happy
|
||||
AsmWriterOperand():OperandType(isLiteralTextOperand) {}
|
||||
|
||||
AsmWriterOperand(const std::string &LitStr)
|
||||
explicit AsmWriterOperand(const std::string &LitStr)
|
||||
: OperandType(isLiteralTextOperand), Str(LitStr) {}
|
||||
|
||||
AsmWriterOperand(const std::string &Printer, unsigned OpNo,
|
||||
|
@@ -27,7 +27,7 @@ class DAGISelEmitter : public TableGenBackend {
|
||||
RecordKeeper &Records;
|
||||
CodeGenDAGPatterns CGP;
|
||||
public:
|
||||
DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {}
|
||||
explicit DAGISelEmitter(RecordKeeper &R) : Records(R), CGP(R) {}
|
||||
|
||||
// run - Output the isel, returning true on failure.
|
||||
void run(std::ostream &OS);
|
||||
|
Reference in New Issue
Block a user