mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 10:08:11 +00:00
Add Iterate to the list of non-Clang operators (#7369)
This allows us to use non-generic C++ range types in Carbon range-for loops.
This commit is contained in:
1 parent
0f14882dd1
commit
f55ffe5914
2 files changed
+1182
-434
No files matched your search
@@ -39,6 +39,7 @@ static auto GetClangOperatorKind(Context& context, SemIR::LocId loc_id,
|
||||
case CoreIdentifier::Destroy:
|
||||
case CoreIdentifier::As:
|
||||
case CoreIdentifier::ImplicitAs:
|
||||
case CoreIdentifier::Iterate:
|
||||
case CoreIdentifier::UnsafeAs:
|
||||
case CoreIdentifier::Copy: {
|
||||
// TODO: Support destructors and conversions.
|
||||
|
||||
Reference in new issue
Block a user