mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:14:42 +01:00
Add support for _ binding patterns (#5097)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
d8d2da4ea0
commit
a584ee120e
@@ -141,6 +141,9 @@ using AnyInterfaceDeclId =
|
||||
using AnyNamespaceId = NodeIdOneOf<NamespaceId, ImportDeclId>;
|
||||
using AnyPointerDeferenceExprId =
|
||||
NodeIdOneOf<PrefixOperatorStarId, PointerMemberAccessExprId>;
|
||||
using AnyRuntimeBindingPatternName =
|
||||
NodeIdOneOf<IdentifierNameNotBeforeParamsId, SelfValueNameId,
|
||||
UnderscoreNameId>;
|
||||
|
||||
// NodeId with kind that is anything but T::Kind.
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user