Nuke moribund "std::string" version of EOL(..., Encoding).
authorBill Wendling <isanbard@gmail.com>
Sun, 30 Aug 2009 00:28:57 +0000 (00:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 30 Aug 2009 00:28:57 +0000 (00:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80466 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp

index 8ce56c81b9afcaee7af64845d85cce2b0d2faca4..621b47d21e6a4e6d9622a4c1dbdb36392935225e 100644 (file)
@@ -268,7 +268,6 @@ namespace llvm {
     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
index f06db8e1a03176fe8a05c871ab085d919f4e579f..a92d923a7d3c59efac574bf00ff99af41aacd9b1 100644 (file)
@@ -633,14 +633,6 @@ static const char *DecodeDWARFEncoding(unsigned Encoding) {
   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.PadToColumn(MAI->getCommentColumn());