OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdcc3e6
)
Put comma in correct place for call to StructType::get
author
Bill Wendling
<isanbard@gmail.com>
Thu, 13 Nov 2008 10:18:35 +0000
(10:18 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 13 Nov 2008 10:18:35 +0000
(10:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59241
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/IntrinsicEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/IntrinsicEmitter.cpp
b/utils/TableGen/IntrinsicEmitter.cpp
index
9247a85
..
9c4338e
100644
(file)
--- a/
utils/TableGen/IntrinsicEmitter.cpp
+++ b/
utils/TableGen/IntrinsicEmitter.cpp
@@
-152,10
+152,12
@@
static void EmitTypeGenerate(std::ostream &OS,
OS << "StructType::get(";
for (std::vector<Record*>::const_iterator
- I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I)
+ I = ArgTypes.begin(), E = ArgTypes.end(); I != E; ++I)
{
EmitTypeGenerate(OS, *I, ArgNo);
+ OS << ", ";
+ }
- OS << "
,
NULL)";
+ OS << " NULL)";
}
static void EmitTypeGenerate(std::ostream &OS, const Record *ArgType,