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

@ -24,21 +24,21 @@ using namespace oceanbase::common;
using namespace oceanbase::sql;
class TestRawExprCanonicalizer : public ::testing::Test {
public:
public:
TestRawExprCanonicalizer();
virtual ~TestRawExprCanonicalizer();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestRawExprCanonicalizer);
protected:
protected:
// function members
void canon(const char* expr, const char*& canon_expr);
protected:
protected:
// data members
};

View File

@ -32,7 +32,7 @@ namespace test {
})
class TestRawExprToStr : public ::testing::Test {
public:
public:
TestRawExprToStr()
{}
virtual ~TestRawExprToStr()
@ -42,7 +42,7 @@ class TestRawExprToStr : public ::testing::Test {
virtual void TearDown()
{}
private:
private:
// disallow copy and assign
TestRawExprToStr(const TestRawExprToStr& other);
TestRawExprToStr& operator=(const TestRawExprToStr& ohter);

View File

@ -18,19 +18,19 @@ using namespace oceanbase::common;
using namespace oceanbase::sql;
class TestRawExprPrintVisitor : public ::testing::Test {
public:
public:
TestRawExprPrintVisitor();
virtual ~TestRawExprPrintVisitor();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestRawExprPrintVisitor);
protected:
protected:
// function members
protected:
protected:
// data members
};

View File

@ -25,21 +25,21 @@ using namespace oceanbase::lib;
using namespace oceanbase;
class TestRawExprResolver : public ::testing::Test {
public:
public:
TestRawExprResolver();
virtual ~TestRawExprResolver();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(TestRawExprResolver);
protected:
protected:
// function members
void resolve(const char* expr, const char*& json_expr);
protected:
protected:
// data members
};

View File

@ -32,7 +32,7 @@ namespace test {
})
class TestRawExprToStr : public ::testing::Test {
public:
public:
TestRawExprToStr()
{}
virtual ~TestRawExprToStr()
@ -42,7 +42,7 @@ class TestRawExprToStr : public ::testing::Test {
virtual void TearDown()
{}
private:
private:
// disallow copy and assign
TestRawExprToStr(const TestRawExprToStr& other);
TestRawExprToStr& operator=(const TestRawExprToStr& ohter);