-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect cycle during projectivize #10877
Merged
danieldk
merged 20 commits into
explosion:master
from
kadarakos:detect-cycle-projectivize
Jun 8, 2022
Merged
Detect cycle during projectivize #10877
danieldk
merged 20 commits into
explosion:master
from
kadarakos:detect-cycle-projectivize
Jun 8, 2022
Commits on May 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b776039 - Browse repository at this point
Copy the full SHA b776039View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4e404e - Browse repository at this point
Copy the full SHA c4e404eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7aa8fb - Browse repository at this point
Copy the full SHA a7aa8fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 794567e - Browse repository at this point
Copy the full SHA 794567eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4adb3fc - Browse repository at this point
Copy the full SHA 4adb3fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b92612 - Browse repository at this point
Copy the full SHA 8b92612View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5763f1 - Browse repository at this point
Copy the full SHA c5763f1View commit details
Commits on May 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 70433ce - Browse repository at this point
Copy the full SHA 70433ceView commit details -
Return bool again from _has_head_as_ancestor
Communicate presence of cycles through an output argument.
Configuration menu - View commit details
-
Copy full SHA for a96716f - Browse repository at this point
Copy the full SHA a96716fView commit details
Commits on Jun 1, 2022
-
Switch to returning std::pair to encode presence of a cycle
The has_cycle pointer is too easy to misuse. Ideally, we would have a sum type like Rust's `Result` here, but C is not there yet.
Configuration menu - View commit details
-
Copy full SHA for cfbedf3 - Browse repository at this point
Copy the full SHA cfbedf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10eacfd - Browse repository at this point
Copy the full SHA 10eacfdView commit details -
_has_head_as_ancestor: remove count
We are now explicitly checking for cycles, so the algorithm must always terminate. Either we encounter the head, we find a root, or a cycle.
Configuration menu - View commit details
-
Copy full SHA for 0f6a2a6 - Browse repository at this point
Copy the full SHA 0f6a2a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a299a6c - Browse repository at this point
Copy the full SHA a299a6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b60b714 - Browse repository at this point
Copy the full SHA b60b714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b7ca4c - Browse repository at this point
Copy the full SHA 0b7ca4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31b3857 - Browse repository at this point
Copy the full SHA 31b3857View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed61b86 - Browse repository at this point
Copy the full SHA ed61b86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08e017c - Browse repository at this point
Copy the full SHA 08e017cView commit details
Commits on Jun 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 87f8005 - Browse repository at this point
Copy the full SHA 87f8005View commit details
Commits on Jun 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dadb55a - Browse repository at this point
Copy the full SHA dadb55aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.