From 344da9b83f4a3321e34b25f1a60d3b49736af340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Venet?= Date: Sun, 26 Oct 2008 15:40:44 +0000 Subject: 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 --- utils/TableGen/AsmWriterEmitter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/TableGen/AsmWriterEmitter.cpp b/utils/TableGen/AsmWriterEmitter.cpp index 18b0759..3cb3612 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) {} -- cgit v1.1