diff options
author | Cedric Venet <cedric.venet@laposte.net> | 2008-10-26 15:40:44 +0000 |
---|---|---|
committer | Cedric Venet <cedric.venet@laposte.net> | 2008-10-26 15:40:44 +0000 |
commit | 3bff2df61cbb5e88bc814240bb35c5502b1628d1 (patch) | |
tree | c2381e0b0b27d96df23584973f70d3e36fe47913 | |
parent | aaf510c932cf194fef5e877b19283176e2608f08 (diff) |
Add a default constructor to AsmWriterOperand to make VS2008sp1 happy. (AsmWriterOperand is used in a std::pair, and VS need to generate the default constructor of this pair).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58185 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/TableGen/AsmWriterEmitter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 18b0759561..3cb3612880 100644 --- a/utils/TableGen/AsmWriterEmitter.cpp +++ b/utils/TableGen/AsmWriterEmitter.cpp @@ -45,6 +45,9 @@ namespace llvm { /// an operand, specified with syntax like ${opname:modifier}. std::string MiModifier; + // To make VS STL happy + AsmWriterOperand():OperandType(isLiteralTextOperand) {} + AsmWriterOperand(const std::string &LitStr) : OperandType(isLiteralTextOperand), Str(LitStr) {} |