diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-18 15:55:51 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:55:57 +0100 |
commit | 7e74b450d24074519c8c93dc55c507931b329c5a (patch) | |
tree | 5113a35e171f587fbe5810bddab36beec3495400 /gcc | |
parent | 1ed62a2be747760de4f8902c7f17ce04783b9bed (diff) | |
download | gcc-7e74b450d24074519c8c93dc55c507931b329c5a.zip gcc-7e74b450d24074519c8c93dc55c507931b329c5a.tar.gz gcc-7e74b450d24074519c8c93dc55c507931b329c5a.tar.bz2 |
gccrs: 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>
Diffstat (limited to 'gcc')
-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); |