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

@ -16,16 +16,16 @@
namespace oceanbase {
namespace sql {
class ObRawExprCanonicalizerImpl : public ObRawExprCanonicalizer {
public:
public:
explicit ObRawExprCanonicalizerImpl(ObExprResolveContext& ctx);
virtual ~ObRawExprCanonicalizerImpl()
{}
virtual int canonicalize(ObRawExpr*& expr);
private:
private:
// types and constants
private:
private:
// disallow copy
DISALLOW_COPY_AND_ASSIGN(ObRawExprCanonicalizerImpl);
// function members
@ -38,7 +38,7 @@ class ObRawExprCanonicalizerImpl : public ObRawExprCanonicalizer {
int pull_similar_expr(ObRawExpr*& expr);
int cluster_and_or(ObRawExpr*& expr);
private:
private:
struct ObOppositeOpPair {
ObItemType original_;
ObItemType opposite_;
@ -46,7 +46,7 @@ class ObRawExprCanonicalizerImpl : public ObRawExprCanonicalizer {
static ObItemType get_opposite_op(ObItemType type);
static ObOppositeOpPair OPPOSITE_PAIRS[];
private:
private:
// data members
ObExprResolveContext& ctx_;
// ObIAllocator &allocator_;