reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -23,17 +23,17 @@ using namespace oceanbase::common;
using namespace oceanbase::sql;
namespace test {
class TestParser : public TestSqlUtils, public ::testing::Test {
public:
public:
TestParser();
virtual ~TestParser();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestParser);
protected:
protected:
// function members
void do_parse(const char* query_str, std::ofstream& of_result, int64_t expect_error = OB_SUCCESS);
void print_parse_tree(const char* query_str, std::ofstream& of_result, int64_t expect_error = OB_SUCCESS);
@ -41,7 +41,7 @@ class TestParser : public TestSqlUtils, public ::testing::Test {
void do_filter_hint(const char* query_str, std::ofstream& of_result, int64_t expect_error = OB_SUCCESS);
bool pretreat_cmd(std::string line, int64_t& expect_error);
protected:
protected:
// data members
ObArenaAllocator allocator_;
};