diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-18 15:55:51 -0400 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-07-20 09:10:00 +0000 |
commit | 6df293b14a8bde213159bc1ce9ab3c3165d90179 (patch) | |
tree | 21bf9d3ad4571937de93f6e2a2676a4163460eee | |
parent | 97cbd459f436c169d3114be803fda49948fcae96 (diff) | |
download | gcc-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.h | 2 |
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 ¶m); void visit (Attribute &attrib); |