aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-07-18 15:55:51 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:57 +0100
commit7e74b450d24074519c8c93dc55c507931b329c5a (patch)
tree5113a35e171f587fbe5810bddab36beec3495400 /gcc
parent1ed62a2be747760de4f8902c7f17ce04783b9bed (diff)
downloadgcc-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.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);