Skip to content

Conversation

@Vipul-Cariappa
Copy link
Collaborator

No description provided.

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

EXPECT_EQ(Decls.size(), 1);

std::vector<Cpp::TCppFunction_t> candidates;
for (auto i : Decls)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: 'auto i' can be declared as 'auto *i' [llvm-qualified-auto]

Suggested change
for (auto i : Decls)
for (auto *i : Decls)


std::vector<Cpp::TCppFunction_t> candidates;
for (auto i : Decls)
candidates.push_back(i);
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: 'push_back' is called inside a loop; consider pre-allocating the container capacity before the loop [performance-inefficient-vector-operation]

unittests/CppInterOp/FunctionReflectionTest.cpp:986:

-   for (auto i : Decls)
+   candidates.reserve(Decls.size());
+ for (auto i : Decls)

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.04%. Comparing base (2df83a9) to head (45027c6).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #756   +/-   ##
=======================================
  Coverage   79.04%   79.04%           
=======================================
  Files           9        9           
  Lines        3879     3879           
=======================================
  Hits         3066     3066           
  Misses        813      813           

see 1 file with indirect coverage changes
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Modulo clang-tidy, lgtm!

@Vipul-Cariappa Vipul-Cariappa force-pushed the test/multi-instantiation branch from bf67337 to 45027c6 Compare November 27, 2025 09:25
@github-actions
Copy link
Contributor

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.

Nice! LGTM!

@Vipul-Cariappa Vipul-Cariappa merged commit 5534f38 into compiler-research:main Nov 27, 2025
35 of 36 checks passed
@Vipul-Cariappa Vipul-Cariappa deleted the test/multi-instantiation branch November 27, 2025 17:12
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