Skip to content
Merged
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
4 changes: 2 additions & 2 deletions eval/public/ast_rewrite_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ TEST(AstCrawlerTest, CheckExprRewriteHandlers) {
// Simple rewrite that replaces a select path with a dot-qualified identifier.
class RewriterExample : public AstRewriterBase {
public:
RewriterExample() {}
RewriterExample() = default;
bool PostVisitRewrite(Expr* expr, const SourcePosition* info) override {
if (target_.has_value() && expr->id() == *target_) {
expr->mutable_ident_expr()->set_name("com.google.Identifier");
Expand Down Expand Up @@ -552,7 +552,7 @@ TEST(AstRewrite, SelectRewriteExample) {
// both passes.
class PreRewriterExample : public AstRewriterBase {
public:
PreRewriterExample() {}
PreRewriterExample() = default;
bool PreVisitRewrite(Expr* expr, const SourcePosition* info) override {
if (expr->ident_expr().name() == "x") {
expr->mutable_ident_expr()->set_name("y");
Expand Down
4 changes: 2 additions & 2 deletions eval/public/builtin_func_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ using ::testing::Eq;

class BuiltinsTest : public ::testing::Test {
protected:
BuiltinsTest() {}
BuiltinsTest() = default;

// Helper method. Looks up in registry and tests comparison operation.
void PerformRun(absl::string_view operation, absl::optional<CelValue> target,
Expand Down Expand Up @@ -1123,7 +1123,7 @@ class FakeList : public CelList {

class FakeErrorMap : public CelMap {
public:
FakeErrorMap() {}
FakeErrorMap() = default;

int size() const override { return 0; }

Expand Down
2 changes: 1 addition & 1 deletion eval/public/extension_func_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static const int kNanosPerSecond = 1000000000;

class ExtensionTest : public ::testing::Test {
protected:
ExtensionTest() {}
ExtensionTest() = default;

void SetUp() override {
ASSERT_OK(RegisterBuiltinFunctions(&registry_));
Expand Down
Loading