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

https://gcc.gnu.org/g:d94d5b1ea23220d423fd40bd00cadb0e6ede751f

commit d94d5b1ea23220d423fd40bd00cadb0e6ede751f
Merge: dec7ee4c5e7 961468ed824
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Wed Jul 27 12:32:38 2022 +0000

    Merge #1410
    
    1410: unsafe: Add UnsafeCheck visitor r=CohenArthur a=CohenArthur
    
    This visitor takes care of checking for unsafe expressions in safe
    contexts. This first iteration reports the dereferencing of raw
    pointers.
    
    
    Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>

Diff:

 gcc/rust/Make-lang.in                         |   1 +
 gcc/rust/checks/errors/rust-unsafe-checker.cc | 779 ++++++++++++++++++++++++++
 gcc/rust/checks/errors/rust-unsafe-checker.h  | 193 +++++++
 gcc/rust/hir/tree/rust-hir-expr.h             |   2 +
 gcc/rust/hir/tree/rust-hir-item.h             |   1 +
 gcc/rust/rust-session-manager.cc              |   9 +-
 gcc/testsuite/rust/compile/unsafe4.rs         |  29 +
 gcc/testsuite/rust/compile/unsafe5.rs         |   4 +
 8 files changed, 1017 insertions(+), 1 deletion(-)


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

only message in thread, other threads:[~2022-07-27 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27 13:20 [gcc/devel/rust/master] Merge #1410 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).