summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-14 05:06:58 +0000
committerChris Lattner <sabre@nondot.org>2004-09-14 05:06:58 +0000
commit2cdd49de2a22a4a1cf77019623d40112b1031a61 (patch)
treede2382068387d129600413b3faf787a05bbc0dff /llvm/lib/VMCore/AsmWriter.cpp
parent730cfe431a87d2db28ac311764cf2008db4ac323 (diff)
downloadbcm5719-llvm-2cdd49de2a22a4a1cf77019623d40112b1031a61.tar.gz
bcm5719-llvm-2cdd49de2a22a4a1cf77019623d40112b1031a61.zip
Don't print newlines between passes in the pass list.
Note to self: sentences end with ".", not "...". Note to reid: sentences end with ".", not "". :) llvm-svn: 16332
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index ea194772198..0cca2a78824 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -764,13 +764,13 @@ void AssemblyWriter::printModule(const Module *M) {
if (!M->getTargetTriple().empty())
Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
- // Loop over the dependent libraries and emit them
+ // Loop over the dependent libraries and emit them.
Module::lib_iterator LI = M->lib_begin();
Module::lib_iterator LE = M->lib_end();
if (LI != LE) {
Out << "deplibs = [ ";
while (LI != LE) {
- Out << "\"" << *LI << "\"";
+ Out << '"' << *LI << '"';
++LI;
if (LI != LE)
Out << ", ";
@@ -778,21 +778,21 @@ void AssemblyWriter::printModule(const Module *M) {
Out << " ]\n";
}
- // Loop over the link time pass list and emit them
+ // Loop over the link time pass list and emit them.
Module::pass_iterator PI = M->pass_begin();
Module::pass_iterator PE = M->pass_end();
if (LI != LE) {
- Out << "passes = [\n";
+ Out << "passes = [ ";
while (LI != LE) {
- Out << "\"" << *LI << "\"";
+ Out << '"' << *LI << '"';
++LI;
if (LI != LE)
- Out << ",\n";
+ Out << ", ";
}
Out << " ]\n";
}
- // Loop over the symbol table, emitting all named constants...
+ // Loop over the symbol table, emitting all named constants.
printSymbolTable(M->getSymbolTable());
for (Module::const_giterator I = M->gbegin(), E = M->gend(); I != E; ++I)
@@ -800,7 +800,7 @@ void AssemblyWriter::printModule(const Module *M) {
Out << "\nimplementation ; Functions:\n";
- // Output all of the functions...
+ // Output all of the functions.
for (Module::const_iterator I = M->begin(), E = M->end(); I != E; ++I)
printFunction(I);
}
OpenPOWER on IntegriCloud