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:
54d23c7
)
Print the record NAME not the record ADDRESS
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 Feb 2004 03:19:17 +0000
(
03:19
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 6 Feb 2004 03:19:17 +0000
(
03:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11144
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/TableGen.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/TableGen.cpp
b/utils/TableGen/TableGen.cpp
index c05ccb0bb17cda99b5b2a86e679089284f5e25fa..cb0a804617eb20b9971f9472f041c27cf0182cdf 100644
(file)
--- a/
utils/TableGen/TableGen.cpp
+++ b/
utils/TableGen/TableGen.cpp
@@
-467,7
+467,7
@@
int main(int argc, char **argv) {
{
std::vector<Record*> Recs = Records.getAllDerivedDefinitions(Class);
for (unsigned i = 0, e = Recs.size(); i != e; ++i)
- *Out << Recs[i] << ", ";
+ *Out << Recs[i]
->getName()
<< ", ";
*Out << "\n";
break;
}