Skip to content

Commit

Permalink
Replace default argument with UNDEF_LOCATION
Browse files Browse the repository at this point in the history
gcc/rust/ChangeLog:

	* ast/rust-ast-collector.h
	(TokenCollector::visit):
	Replace default argument with UNDEF_LOCATION.

Signed-off-by: Owen Avery <[email protected]>
  • Loading branch information
powerboat9 authored and CohenArthur committed Jul 20, 2023
1 parent 97cbd45 commit 6df293b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/rust/ast/rust-ast-collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class TokenCollector : public ASTVisitor
void visit (Visitable &v);
void visit (LoopLabel &label);

void visit (Literal &lit, Location locus = {});
void visit (Literal &lit, Location locus = UNDEF_LOCATION);

void visit (FunctionParam &param);
void visit (Attribute &attrib);
Expand Down

0 comments on commit 6df293b

Please sign in to comment.