aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-constexpr.cc
diff options
context:
space:
mode:
authorRaiki Tamura <tamaron1203@gmail.com>2023-08-18 13:00:47 +0900
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:04:30 +0100
commit52ad16ef37df3cb71a26dea759a3caefab17ae36 (patch)
tree514a075f7b89c3418d401dcb6728b8b94b528c59 /gcc/rust/backend/rust-constexpr.cc
parent5c339c29f9aa61a2bb0488ca2b3456b2e5c53480 (diff)
downloadgcc-52ad16ef37df3cb71a26dea759a3caefab17ae36.zip
gcc-52ad16ef37df3cb71a26dea759a3caefab17ae36.tar.gz
gcc-52ad16ef37df3cb71a26dea759a3caefab17ae36.tar.bz2
gccrs: Add check for no_mangle attribute
gcc/rust/ChangeLog: * lex/rust-input-source.h: Move constants from here... * util/rust-codepoint.h (struct Codepoint): ... to here * util/rust-attributes.cc (check_no_mangle_function): New function. (AttributeChecker::visit): Use it. * util/rust-unicode.cc (is_ascii_only): New function. * util/rust-unicode.h (is_ascii_only): Likewise. * backend/rust-mangle.cc (legacy_mangle_name): Use it. * util/rust-punycode.cc (extract_basic_string): Likewise. * lex/rust-lex.cc (Lexer::parse_byte_char): Likewise. Signed-off-by: Raiki Tamura <tamaron1203@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-constexpr.cc')
0 files changed, 0 insertions, 0 deletions