diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-05-03 18:42:24 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-05-06 14:29:51 +0200 |
commit | 2df8cf57e62478afb97337fdd4db856158097e1d (patch) | |
tree | 0a2def840dc71712098ec80729359fc652619453 /gcc/rust/backend/rust-compile-expr.h | |
parent | 4393aabd0732727d945deb057c387524bde39af2 (diff) | |
download | gcc-2df8cf57e62478afb97337fdd4db856158097e1d.zip gcc-2df8cf57e62478afb97337fdd4db856158097e1d.tar.gz gcc-2df8cf57e62478afb97337fdd4db856158097e1d.tar.bz2 |
privacy: Add base for pub(restricted) visitor and linter
privacy: restricted: Add base for pub(restricted) violations reporting
This commit adds a new visitor whose purpose is to report `pub restricted`
violation: The path used in a `pub restricted` privacy can only be an
ancestor path, which needs to be checked.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions