public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Remove unused commented code
@ 2022-06-28 12:39 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-28 12:39 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7c7202c2316c080056f3bf2dc1e3c713cceb1e85

commit 7c7202c2316c080056f3bf2dc1e3c713cceb1e85
Author: Sebastien Lacoste <dev@graphman.fr>
Date:   Fri Jun 24 10:43:27 2022 +0200

    Remove unused commented code
    
    Signed-off-by: Sebastien Lacoste <dev@graphman.fr>

Diff:
---
 gcc/rust/expand/rust-macro-builtins.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/rust/expand/rust-macro-builtins.cc b/gcc/rust/expand/rust-macro-builtins.cc
index fb302416fff..d062f1a257f 100644
--- a/gcc/rust/expand/rust-macro-builtins.cc
+++ b/gcc/rust/expand/rust-macro-builtins.cc
@@ -164,13 +164,12 @@ MacroBuiltin::file (Location invoc_locus, AST::MacroInvocData &invoc)
 
   return AST::ASTFragment ({file_str});
 }
+
 AST::ASTFragment
 MacroBuiltin::column (Location invoc_locus, AST::MacroInvocData &invoc)
 {
   auto current_column
     = Session::get_instance ().linemap->location_to_column (invoc_locus);
-  // auto column_no
-  //   = AST::SingleASTNode (make_string (invoc_locus, current_column));
 
   auto column_no = AST::SingleASTNode (std::unique_ptr<AST::Expr> (
     new AST::LiteralExpr (std::to_string (current_column), AST::Literal::INT,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-28 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28 12:39 [gcc/devel/rust/master] Remove unused commented code Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).