diff options
author | Sebastien Lacoste <dev@graphman.fr> | 2022-06-24 10:43:27 +0200 |
---|---|---|
committer | Sebastien Lacoste <dev@graphman.fr> | 2022-06-24 18:49:59 +0200 |
commit | 7c7202c2316c080056f3bf2dc1e3c713cceb1e85 (patch) | |
tree | a1303c0b3b28bdd8ac0f512b636e7fbf804868c5 /gcc | |
parent | c0f11672d760513256997f325da678016d13f677 (diff) | |
download | gcc-7c7202c2316c080056f3bf2dc1e3c713cceb1e85.zip gcc-7c7202c2316c080056f3bf2dc1e3c713cceb1e85.tar.gz gcc-7c7202c2316c080056f3bf2dc1e3c713cceb1e85.tar.bz2 |
Remove unused commented code
Signed-off-by: Sebastien Lacoste <dev@graphman.fr>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/expand/rust-macro-builtins.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/expand/rust-macro-builtins.cc b/gcc/rust/expand/rust-macro-builtins.cc index fb30241..d062f1a 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, |