aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-expand.h
diff options
context:
space:
mode:
authorantego <antego@users.noreply.github.com>2022-04-13 20:00:54 +1000
committerantego <antego@users.noreply.github.com>2022-04-15 07:31:32 +1000
commita9c0649503f19bb2399bb8d4fe2f2d45db65727d (patch)
treedead9ef51792ed2b75af442b67d983c77da733bf /gcc/rust/expand/rust-macro-expand.h
parentd36a3c5752cbffab5bc107bb3cf7710442a29f9e (diff)
downloadgcc-a9c0649503f19bb2399bb8d4fe2f2d45db65727d.zip
gcc-a9c0649503f19bb2399bb8d4fe2f2d45db65727d.tar.gz
gcc-a9c0649503f19bb2399bb8d4fe2f2d45db65727d.tar.bz2
Move cfg!() macro to builtins
Fixes #1039
Diffstat (limited to 'gcc/rust/expand/rust-macro-expand.h')
-rw-r--r--gcc/rust/expand/rust-macro-expand.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.h b/gcc/rust/expand/rust-macro-expand.h
index f3ca7fc8..3c53d8d 100644
--- a/gcc/rust/expand/rust-macro-expand.h
+++ b/gcc/rust/expand/rust-macro-expand.h
@@ -226,11 +226,6 @@ struct MacroExpander
bool fails_cfg (const AST::AttrVec &attr) const;
bool fails_cfg_with_expand (AST::AttrVec &attrs) const;
- // Expand the data of a cfg! macro.
- void parse_macro_to_meta_item (AST::MacroInvocData &invoc);
- // Get the literal representation of a cfg! macro.
- AST::Literal expand_cfg_macro (AST::MacroInvocData &invoc);
-
bool depth_exceeds_recursion_limit () const;
bool try_match_rule (AST::MacroRule &match_rule,