projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f0b152
)
gccrs: dump: Emit visibility when dumping items
author
Arthur Cohen
<arthur.cohen@embecosm.com>
Tue, 27 Sep 2022 13:50:39 +0000
(15:50 +0200)
committer
Arthur Cohen
<arthur.cohen@embecosm.com>
Tue, 21 Feb 2023 11:36:35 +0000
(12:36 +0100)
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc: Emit visibility when dumping items.
gcc/rust/ast/rust-ast-dump.cc
patch
|
blob
|
history
diff --git
a/gcc/rust/ast/rust-ast-dump.cc
b/gcc/rust/ast/rust-ast-dump.cc
index
fdcd975
..
b7557bd
100644
(file)
--- a/
gcc/rust/ast/rust-ast-dump.cc
+++ b/
gcc/rust/ast/rust-ast-dump.cc
@@
-835,6
+835,7
@@
void
Dump::visit (Function &function)
{
emit_visibility (function.get_visibility ());
+
stream << "fn " << function.get_function_name ();
if (function.has_generics ())
emit_generic_params (function.get_generic_params ());