public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-7812] gccrs: Replace default argument with UNDEF_LOCATION
@ 2024-01-16 18:00 Arthur Cohen
0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2024-01-16 18:00 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7e74b450d24074519c8c93dc55c507931b329c5a
commit r14-7812-g7e74b450d24074519c8c93dc55c507931b329c5a
Author: Owen Avery <powerboat9.gamer@gmail.com>
Date: Tue Jul 18 15:55:51 2023 -0400
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>
Diff:
---
gcc/rust/ast/rust-ast-collector.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/rust/ast/rust-ast-collector.h b/gcc/rust/ast/rust-ast-collector.h
index 0001c5bbef8..792f8bed723 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-16 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-16 18:00 [gcc r14-7812] gccrs: Replace default argument with UNDEF_LOCATION Arthur Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).