aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-07-22 10:13:26 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-07-28 15:15:36 +0200
commit1d86619909ec3d30b1363d66a6caff2f2b279ad2 (patch)
tree400f4dfb8755ee8734a46202d6d95acf7b3200e3 /gcc/rust/backend/rust-compile-resolve-path.cc
parent2160d34c5ff8060723c4b71d31c3d195f51eaa06 (diff)
downloadgcc-1d86619909ec3d30b1363d66a6caff2f2b279ad2.zip
gcc-1d86619909ec3d30b1363d66a6caff2f2b279ad2.tar.gz
gcc-1d86619909ec3d30b1363d66a6caff2f2b279ad2.tar.bz2
const: Add basic const context checking
This commit serves as a base to ensure that only the allowed subset of the language is called from const contexts. For example, this limits function calls to calls to const functions only when in a const context
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions