[llvm-branch-commits] [llvm-branch] r80467 - in /llvm/branches/Apple/Bender-SWB: include/llvm/CodeGen/AsmPrinter.h lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Bill Wendling isanbard at gmail.com
Sat Aug 29 17:30:41 PDT 2009


Author: void
Date: Sat Aug 29 19:30:41 2009
New Revision: 80467

URL: http://llvm.org/viewvc/llvm-project?rev=80467&view=rev
Log:
Remove moribund std::string version of EOL.

Modified:
    llvm/branches/Apple/Bender-SWB/include/llvm/CodeGen/AsmPrinter.h
    llvm/branches/Apple/Bender-SWB/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Modified: llvm/branches/Apple/Bender-SWB/include/llvm/CodeGen/AsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/include/llvm/CodeGen/AsmPrinter.h?rev=80467&r1=80466&r2=80467&view=diff

==============================================================================
--- llvm/branches/Apple/Bender-SWB/include/llvm/CodeGen/AsmPrinter.h (original)
+++ llvm/branches/Apple/Bender-SWB/include/llvm/CodeGen/AsmPrinter.h Sat Aug 29 19:30:41 2009
@@ -259,7 +259,6 @@
     void EOL() const;
     void EOL(const std::string &Comment) const;
     void EOL(const char* Comment) const;
-    void EOL(const std::string &Comment, unsigned Encoding) const;
     void EOL(const char *Comment, unsigned Encoding) const;
     
     /// EmitULEB128Bytes - Emit an assembler byte data directive to compose an

Modified: llvm/branches/Apple/Bender-SWB/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Bender-SWB/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=80467&r1=80466&r2=80467&view=diff

==============================================================================
--- llvm/branches/Apple/Bender-SWB/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/branches/Apple/Bender-SWB/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Sat Aug 29 19:30:41 2009
@@ -660,14 +660,6 @@
   return 0;
 }
 
-void AsmPrinter::EOL(const std::string &Comment, unsigned Encoding) const {
-  if (VerboseAsm && !Comment.empty()) {
-    EOL(Comment.c_str(), Encoding);
-    return;
-  }
-  O << '\n';
-}
-
 void AsmPrinter::EOL(const char *Comment, unsigned Encoding) const {
   if (VerboseAsm && *Comment) {
     O << '\t'





More information about the llvm-branch-commits mailing list