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:
Dan Gohman
2009-02-18 16:37:45 +00:00
parent d6b7a242d3
commit 38deef9ce5
5 changed files with 6 additions and 6 deletions

View File

@ -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,