aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-23 13:37:07 +0000
committerGitHub <noreply@github.com>2022-02-23 13:37:07 +0000
commitbf92a1012264f2544e73a7a8dd0ac1e473c7f658 (patch)
treef7a3fd3afb0c2e2b2678d80dcd742da23c1b8f9a /gcc/rust/backend/rust-compile-expr.h
parent10de9cf4f3765526a1a82a4a7d14908b58c6538c (diff)
parent48b3fe622e9a582b076c6f4b19b5e8b69891ac31 (diff)
downloadgcc-bf92a1012264f2544e73a7a8dd0ac1e473c7f658.zip
gcc-bf92a1012264f2544e73a7a8dd0ac1e473c7f658.tar.gz
gcc-bf92a1012264f2544e73a7a8dd0ac1e473c7f658.tar.bz2
Merge #969
969: Add builtin macros framework r=CohenArthur a=CohenArthur This PR adds bases to define new builtin macro functions. Since we operate at the `insert_macro_def` level, this requires builtin macros to be defined, as is the case in the rust standard library: ```rust macro_rules! assert { ($cond:expr $(,)?) => {{ /* compiler built-in */ }}; ($cond:expr, $($arg:tt)+) => {{ /* compiler built-in */ }}; } ``` Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions