Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gibber9809 committed Jul 31, 2024
1 parent b41eed1 commit 86acbf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions components/core/src/clp_s/search/sql/sql.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
#include <antlr4-runtime.h>
#include <spdlog/spdlog.h>

#include "../EmptyExpr.hpp"
#include "SqlBaseVisitor.h"
#include "SqlLexer.h"
#include "SqlParser.h"

#include "../EmptyExpr.hpp"

using namespace antlr4;
using namespace sql;

Expand Down Expand Up @@ -39,9 +38,7 @@ class ErrorListener : public BaseErrorListener {

class ParseTreeVisitor : public SqlBaseVisitor {
public:
std::any visitStart(SqlParser::StartContext* ctx) override {
return EmptyExpr::create();
}
std::any visitStart(SqlParser::StartContext* ctx) override { return EmptyExpr::create(); }
};

std::shared_ptr<Expression> parse_sql_expression(std::istream& in) {
Expand Down
2 changes: 1 addition & 1 deletion components/core/src/clp_s/search/sql/sql.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ namespace clp_s::search::sql {
* @return a search AST on success, nullptr otherwise
*/
std::shared_ptr<Expression> parse_sql_expression(std::istream& in);
} // namespace clp_s::search::kql
} // namespace clp_s::search::sql

#endif // CLP_S_SEARCH_SQL_SQL_HPP

0 comments on commit 86acbf5

Please sign in to comment.