-
Notifications
You must be signed in to change notification settings - Fork 13.6k
[Clang][C++23] Implement P1774R8: Portable assumptions #81014
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
5ba6690
[Clang] Parsing and Sema for C++23's `assume` attribute
Sirraide df08a14
[Clang] Make argument of assume() potentially evaluated
Sirraide 64345e2
[Clang] Move most [[assume()]] diags to test/SemaCXX
Sirraide 6c44d20
[Clang] Codegen for [[assume()]]
Sirraide dd8febd
[Clang] Check that __has_cpp_attribute returns 1 for assume
Sirraide b498be8
[NFC] Add newline at end of file
Sirraide 36fc751
[Clang] Update documentation
Sirraide fc72029
[Clang][NFC] Remove outdated comment
Sirraide 0d869a5
[Clang][NFC] Fix formatting
Sirraide 5928582
[Clang] Do not hard-code attribute name in diagnostics
Sirraide f286e2e
[Clang] Diagnose failed assumptions during constant expression evalua…
Sirraide 2fb786c
[Clang][NFC] Fix formatting
Sirraide dc23ed5
[Clang] Handle assume attribute in template instantiation
Sirraide 0725f04
[Clang] Add more tests for assume involving concepts
Sirraide a46edf9
[Clang] Add -ast-print test for assume
Sirraide 646b32d
[Clang][NFC] Add newline at end of file
Sirraide c7515d9
[Clang] Actually include CHECK directives in comments
Sirraide 6069ef3
Merge branch 'main' into assume
Sirraide 338b76e
Merge branch 'main' into assume
Sirraide 2f998a4
[Clang] Readd sema functions after merge
Sirraide 98ed8f3
[NFC] Rename AssumeAttr -> CXXAssumeAttr, AssumptionAttr -> OMPAssume…
Sirraide 6b30e99
[Clang] Ignore failed assumptions in constant expressions in MSVCComp…
Sirraide c41566b
[Clang] Add assume lang option and command-line flag
Sirraide d85d46b
[Clang] Ensure __has_cpp_attribute(assume) returns the correct value
Sirraide 33bbd8d
[NFC] Add newline at end of file
Sirraide 7aa1a95
[Clang] Update cxx_status
Sirraide 61230cb
[Clang] Rename last occurrence of Assumption -> OMPAssume
Sirraide df227c4
[Clang] [Parser] Better diagnostics for [[assume]] syntax errors
Sirraide 0d20580
[Clang] [Parser] Remove superfluous check for ()
Sirraide 61f92cf
[Clang] Warn about potential pessimisation in assume docs
Sirraide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.