Skip to content
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

[Tests] CppInterOp: Enable GetFunctionAddress test for macOS #176

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

SAtacker
Copy link
Contributor

@SAtacker SAtacker commented Jan 3, 2024

No description provided.

@SAtacker SAtacker marked this pull request as ready for review January 3, 2024 18:53
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

@@ -678,6 +686,9 @@
FCI4.Invoke(&ret4);
EXPECT_EQ(ret4, 4);

FUNC.Invoke(&ret5, {args0, /*args_size=*/1});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]

  FUNC.Invoke(&ret5, {args0, /*args_size=*/1});
                      ^

- Remove macro guard for GetFunctionAddress

Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
@SAtacker SAtacker changed the title [Tests] CppInterOp: Expect get_wrapper_code to fail making a wrapper for a template function [Tests] CppInterOp: Enable getFunctionAddress test for macOS Jan 3, 2024
@SAtacker SAtacker changed the title [Tests] CppInterOp: Enable getFunctionAddress test for macOS [Tests] CppInterOp: Enable GetFunctionAddress test for macOS Jan 3, 2024
Copy link
Contributor

github-actions bot commented Jan 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0e75241) 77.55% compared to head (abbe8f3) 77.55%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage   77.55%   77.55%           
=======================================
  Files           8        8           
  Lines        2887     2887           
=======================================
  Hits         2239     2239           
  Misses        648      648           

Copy link
Contributor

github-actions bot commented Jan 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
Copy link
Contributor

github-actions bot commented Jan 3, 2024

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@vgvassilev vgvassilev merged commit d294b07 into compiler-research:main Jan 3, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants