public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/rust/master] Merge #1246
Date: Wed,  8 Jun 2022 12:47:32 +0000 (GMT)	[thread overview]
Message-ID: <20220608124732.1EEDE380E19A@sourceware.org> (raw)

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


                 reply	other threads:[~2022-06-08 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220608124732.1EEDE380E19A@sourceware.org \
    --to=tschwinge@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).