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.
Use
reflect_invoke
metafunction to invoke a member function (llvm#79)
* initial implementation Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * format Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * refactoring to simplify if statements Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * support of template member functions Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * add diagnostic Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * wording Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * more optimal exclusion of object argument Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * hack with wrapping decl reference into splice expr to prevent lookup and overloadd Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * fix bug + add automated tests for diagnostics Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * comment Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * clean up Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * test refactoring Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * apply different small review remarks Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * add support for using methods of base classes Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * migrate existing tests to new syntax Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * test existing functionality related to function pointers Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * support of pointer to non-static method Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * test for object with static storage duration holding a pointer to a constexpr function Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * address misunderstanding about static pointers + fix bug related to it Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * comments Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * add requested tests related to template functions -- passed Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> * refactor logic of getting CXXMethodDecl from function pointer Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> --------- Signed-off-by: Valentyn Yukhymenko <valentin.yukhymenko@gmail.com>
- 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.