public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1246
@ 2022-06-08 12:47 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8cad07cfd2244ad9a40027a4306b81b4553a4797

commit 8cad07cfd2244ad9a40027a4306b81b4553a4797
Merge: e4213b9568a 48fc2df91b0
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Tue May 17 10:11:04 2022 +0000

    Merge #1246
    
    1246: Report simple privacy violations r=CohenArthur a=CohenArthur
    
    This adds a base visitor for reporting basic privacy violations. For now, only function calls are implemented.
    
    Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>

Diff:

 gcc/rust/Make-lang.in                           |   2 +
 gcc/rust/privacy/rust-privacy-check.cc          |   2 +
 gcc/rust/privacy/rust-privacy-common.h          |   4 +-
 gcc/rust/privacy/rust-privacy-reporter.cc       | 645 ++++++++++++++++++++++++
 gcc/rust/privacy/rust-privacy-reporter.h        | 201 ++++++++
 gcc/rust/privacy/rust-pub-restricted-visitor.cc |  36 +-
 gcc/rust/privacy/rust-pub-restricted-visitor.h  |   4 +-
 gcc/rust/privacy/rust-visibility-resolver.cc    |  32 +-
 gcc/rust/privacy/rust-visibility-resolver.h     |   1 +
 gcc/rust/resolve/rust-ast-resolve-base.h        |   6 +-
 gcc/rust/resolve/rust-ast-resolve-item.cc       |   5 +-
 gcc/rust/resolve/rust-ast-resolve-toplevel.h    |  14 +-
 gcc/rust/resolve/rust-ast-resolve.cc            |   2 +-
 gcc/rust/util/rust-hir-map.cc                   |  26 +-
 gcc/rust/util/rust-hir-map.h                    |  15 +-
 gcc/rust/util/rust-optional-test.cc             | 104 ++++
 gcc/rust/util/rust-optional.h                   | 141 ++++--
 gcc/testsuite/rust/compile/privacy1.rs          |  11 +
 gcc/testsuite/rust/compile/pub_restricted_3.rs  |  11 +
 19 files changed, 1164 insertions(+), 98 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:47 [gcc/devel/rust/master] Merge #1246 Thomas Schwinge

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).