Skip to content

Commit c7728c8

Browse files
rizan21CohenArthur
authored andcommitted
Removed unnecessary comments
gcc/rust/ChangeLog: * expand/rust-macro-builtins.cc (MacroBuiltin::include_str_handler): Comment removed (MacroBuiltin::env_handler): Comment removed (MacroBuiltin::cfg_handler): Comment removed (MacroBuiltin::line_handler): Comment removed Signed-off-by: Mohammed Rizan Farooqui <[email protected]>
1 parent 1908504 commit c7728c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gcc/rust/expand/rust-macro-builtins.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ MacroBuiltin::include_str_handler (location_t invoc_locus,
583583
auto node = AST::SingleASTNode (make_string (invoc_locus, str));
584584
auto str_tok = make_token (Token::make_string (invoc_locus, std::move (str)));
585585

586-
// FIXME: Do not return an empty token vector here
587586
return AST::Fragment ({node}, std::move (str_tok));
588587
}
589588

@@ -785,7 +784,6 @@ MacroBuiltin::env_handler (location_t invoc_locus, AST::MacroInvocData &invoc)
785784
auto tok
786785
= make_token (Token::make_string (invoc_locus, std::move (env_value)));
787786

788-
// FIXME: Do not return an empty token vector here
789787
return AST::Fragment ({node}, std::move (tok));
790788
}
791789

@@ -824,7 +822,6 @@ MacroBuiltin::cfg_handler (location_t invoc_locus, AST::MacroInvocData &invoc)
824822
auto tok = make_token (
825823
Token::make (result ? TRUE_LITERAL : FALSE_LITERAL, invoc_locus));
826824

827-
// FIXME: Do not return an empty token vector here
828825
return AST::Fragment ({literal_exp}, std::move (tok));
829826
}
830827

@@ -912,7 +909,6 @@ MacroBuiltin::line_handler (location_t invoc_locus, AST::MacroInvocData &)
912909
auto tok
913910
= make_token (Token::make_int (invoc_locus, std::to_string (current_line)));
914911

915-
// FIXME: Do not return an empty token vector here
916912
return AST::Fragment ({line_no}, std::move (tok));
917913
}
918914

0 commit comments

Comments
 (0)