forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
reflect_invoke
metafunction to invoke a member function (#79)
* initial implementation Signed-off-by: Valentyn Yukhymenko <[email protected]> * format Signed-off-by: Valentyn Yukhymenko <[email protected]> * refactoring to simplify if statements Signed-off-by: Valentyn Yukhymenko <[email protected]> * support of template member functions Signed-off-by: Valentyn Yukhymenko <[email protected]> * add diagnostic Signed-off-by: Valentyn Yukhymenko <[email protected]> * wording Signed-off-by: Valentyn Yukhymenko <[email protected]> * more optimal exclusion of object argument Signed-off-by: Valentyn Yukhymenko <[email protected]> * hack with wrapping decl reference into splice expr to prevent lookup and overloadd Signed-off-by: Valentyn Yukhymenko <[email protected]> * fix bug + add automated tests for diagnostics Signed-off-by: Valentyn Yukhymenko <[email protected]> * comment Signed-off-by: Valentyn Yukhymenko <[email protected]> * clean up Signed-off-by: Valentyn Yukhymenko <[email protected]> * test refactoring Signed-off-by: Valentyn Yukhymenko <[email protected]> * apply different small review remarks Signed-off-by: Valentyn Yukhymenko <[email protected]> * add support for using methods of base classes Signed-off-by: Valentyn Yukhymenko <[email protected]> * migrate existing tests to new syntax Signed-off-by: Valentyn Yukhymenko <[email protected]> * test existing functionality related to function pointers Signed-off-by: Valentyn Yukhymenko <[email protected]> * support of pointer to non-static method Signed-off-by: Valentyn Yukhymenko <[email protected]> * test for object with static storage duration holding a pointer to a constexpr function Signed-off-by: Valentyn Yukhymenko <[email protected]> * address misunderstanding about static pointers + fix bug related to it Signed-off-by: Valentyn Yukhymenko <[email protected]> * comments Signed-off-by: Valentyn Yukhymenko <[email protected]> * add requested tests related to template functions -- passed Signed-off-by: Valentyn Yukhymenko <[email protected]> * refactor logic of getting CXXMethodDecl from function pointer Signed-off-by: Valentyn Yukhymenko <[email protected]> --------- Signed-off-by: Valentyn Yukhymenko <[email protected]>
- Loading branch information
1 parent
25ef189
commit 40b5909
Showing
4 changed files
with
384 additions
and
13 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
Oops, something went wrong.