forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
is_structured_binding
metafunction (llvm#58)
* feat: add `is_structured_binding` to `meta` header Signed-off-by: Valentyn Yukhymenko <[email protected]> * style: comment Signed-off-by: Valentyn Yukhymenko <[email protected]> * test: add test and stub implementation Signed-off-by: Valentyn Yukhymenko <[email protected]> * feat: initial implementation Signed-off-by: Valentyn Yukhymenko <[email protected]> * test: add more test cases Signed-off-by: Valentyn Yukhymenko <[email protected]> * style: formatting Signed-off-by: Valentyn Yukhymenko <[email protected]> * revert: changes of `is_variable` Signed-off-by: Valentyn Yukhymenko <[email protected]> * revert: few style changes Signed-off-by: Valentyn Yukhymenko <[email protected]> * style: move code according to order from paper Signed-off-by: Valentyn Yukhymenko <[email protected]> * style: move code according to order from paper Signed-off-by: Valentyn Yukhymenko <[email protected]> * fix: fix edge case for `type_of` with tuple element from structured binding Signed-off-by: Valentyn Yukhymenko <[email protected]> * test: structured binding with constant modifier Signed-off-by: Valentyn Yukhymenko <[email protected]> * test: structured binding with volatile modifier Signed-off-by: Valentyn Yukhymenko <[email protected]> * test: add more test cases of struct binding Signed-off-by: Valentyn Yukhymenko <[email protected]> * fix: support structured binding in `extract`function Signed-off-by: Valentyn Yukhymenko <[email protected]> --------- Signed-off-by: Valentyn Yukhymenko <[email protected]>
- Loading branch information
1 parent
9a070de
commit 5157802
Showing
3 changed files
with
111 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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