[lld] r205475 - Concatenate strings that are unnecessarily separated.

Rui Ueyama ruiu at google.com
Wed Apr 2 15:32:51 PDT 2014


Author: ruiu
Date: Wed Apr  2 17:32:51 2014
New Revision: 205475

URL: http://llvm.org/viewvc/llvm-project?rev=205475&view=rev
Log:
Concatenate strings that are unnecessarily separated.

Modified:
    lld/trunk/include/lld/Driver/GnuLdInputGraph.h

Modified: lld/trunk/include/lld/Driver/GnuLdInputGraph.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Driver/GnuLdInputGraph.h?rev=205475&r1=205474&r2=205475&view=diff
==============================================================================
--- lld/trunk/include/lld/Driver/GnuLdInputGraph.h (original)
+++ lld/trunk/include/lld/Driver/GnuLdInputGraph.h Wed Apr  2 17:32:51 2014
@@ -61,12 +61,9 @@ public:
   /// \brief Dump the Input Element
   bool dump(raw_ostream &diagnostics) override {
     diagnostics << "Name    : " << *getPath(_elfLinkingContext) << "\n"
-                << "Type    : "
-                << "ELF File"
-                << "\n"
+                << "Type    : ELF File\n"
                 << "Ordinal : " << getOrdinal() << "\n"
-                << "Attributes : "
-                << "\n"
+                << "Attributes :\n"
                 << "  - wholeArchive : "
                 << ((_attributes._isWholeArchive) ? "true" : "false") << "\n"
                 << "  - asNeeded : "





More information about the llvm-commits mailing list