diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2025-05-08 17:32:05 -0400 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2025-05-15 10:32:23 +0000 |
commit | 4f772da8df444fbcb84821d4c4c60cf1cc2f5479 (patch) | |
tree | 20f2c1ab0e98c05902217f38315fb2054fc6342b /libjava/java/net/ProtocolException.java | |
parent | 7a562bcec1f7604e6df1b604979ce4c1456e6049 (diff) | |
download | gcc-4f772da8df444fbcb84821d4c4c60cf1cc2f5479.zip gcc-4f772da8df444fbcb84821d4c4c60cf1cc2f5479.tar.gz gcc-4f772da8df444fbcb84821d4c4c60cf1cc2f5479.tar.bz2 |
Small improvements to DefaultASTVisitor and nr2.0
gcc/rust/ChangeLog:
* ast/rust-ast-visitor.cc
(DefaultASTVisitor::visit): Only visit the path of an instance
of Visibility if the instance has a path.
* ast/rust-ast.h
(SimplePath::SimplePath): Make sure constructors are explicit.
* resolve/rust-early-name-resolver-2.0.cc
(Early::visit_attributes): Pass entire paths to
NameResolutionContext::resolve_path.
(Early::visit): Likewise and avoid copying a path.
* resolve/rust-forever-stack.hxx
(ForeverStack::resolve_path): Assert that at least one path
segment has been passed in.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'libjava/java/net/ProtocolException.java')
0 files changed, 0 insertions, 0 deletions