aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-07-18 15:55:51 -0400
committerCohenArthur <arthur.cohen@embecosm.com>2023-07-20 09:10:00 +0000
commit6df293b14a8bde213159bc1ce9ab3c3165d90179 (patch)
tree21bf9d3ad4571937de93f6e2a2676a4163460eee
parent97cbd459f436c169d3114be803fda49948fcae96 (diff)
downloadgcc-6df293b14a8bde213159bc1ce9ab3c3165d90179.zip
gcc-6df293b14a8bde213159bc1ce9ab3c3165d90179.tar.gz
gcc-6df293b14a8bde213159bc1ce9ab3c3165d90179.tar.bz2
Replace default argument with UNDEF_LOCATION
gcc/rust/ChangeLog: * ast/rust-ast-collector.h (TokenCollector::visit): Replace default argument with UNDEF_LOCATION. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
-rw-r--r--gcc/rust/ast/rust-ast-collector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast-collector.h b/gcc/rust/ast/rust-ast-collector.h
index 0001c5b..792f8be 100644
--- a/gcc/rust/ast/rust-ast-collector.h
+++ b/gcc/rust/ast/rust-ast-collector.h
@@ -160,7 +160,7 @@ public:
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);