From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id A315B3810AD6; Wed, 8 Jun 2022 12:48:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A315B3810AD6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1255 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: ff37b816e74091972c6722cce57338bacec6fb00 X-Git-Newrev: e9d41c4ef9da8ba71570ecf83691c813c12d9149 Message-Id: <20220608124807.A315B3810AD6@sourceware.org> Date: Wed, 8 Jun 2022 12:48:07 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 12:48:07 -0000 https://gcc.gnu.org/g:e9d41c4ef9da8ba71570ecf83691c813c12d9149 commit e9d41c4ef9da8ba71570ecf83691c813c12d9149 Merge: ff37b816e74 dba78989e55 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Thu May 19 09:49:30 2022 +0000 Merge #1255 1255: Privacy report expressions r=CohenArthur a=CohenArthur This adds privacy reporting to all expression types inside our HIR. It also restricts the `PrivacyReporter` visitor to `HIR::Expression`s and `HIR::Stmt`s as a lot of the previous types did not need to be visited. Co-authored-by: Arthur Cohen Diff: gcc/rust/privacy/rust-privacy-reporter.cc | 546 +++++++++++++++--------------- gcc/rust/privacy/rust-privacy-reporter.h | 90 ++--- gcc/testsuite/rust/compile/privacy3.rs | 28 ++ gcc/testsuite/rust/compile/privacy4.rs | 19 ++ 4 files changed, 340 insertions(+), 343 deletions(-)