projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaf510c
)
Add a default constructor to AsmWriterOperand to make VS2008sp1 happy. (AsmWriterOper...
author
Cedric Venet
<cedric.venet@laposte.net>
Sun, 26 Oct 2008 15:40:44 +0000
(15:40 +0000)
committer
Cedric Venet
<cedric.venet@laposte.net>
Sun, 26 Oct 2008 15:40:44 +0000
(15:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58185
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmWriterEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmWriterEmitter.cpp
b/utils/TableGen/AsmWriterEmitter.cpp
index 18b07595611b89ed84fb6f584282a84aa702fe9b..3cb361288060c4f1dddd63cee9feaa4bf174561d 100644
(file)
--- 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) {}