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

[DO NOT MERGE] Test reviewdog 2 #58

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Codeowners for reviews on PRs

* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey
* @bretbrownjr @camio @dietmarkuehl @neatudarius @steve-downey

4 changes: 4 additions & 0 deletions include/beman/exemplar/identity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ struct identity {
#endif
T&&
operator()(T&& t) const noexcept {
int
size
=
0;
return std::forward<T>(t);
}

Expand Down
2 changes: 1 addition & 1 deletion src/beman/exemplar/identity.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace exe = beman::exemplar;

TEST(IdentityTest, call_identity_with_int) {
for (int i = -100; i < 100; ++i) {
EXPECT_EQ(i, exe::identity()(i));
EXPECT_EQ(i, exe::identity()(i));
}
}

Expand Down
Loading