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

@ -20,7 +20,7 @@ namespace sql {
class ObExprNeg : public ObExprOperator {
typedef common::ObExprStringBuf IAllocator;
public:
public:
explicit ObExprNeg(common::ObIAllocator& alloc);
virtual ~ObExprNeg(){};
@ -30,13 +30,13 @@ class ObExprNeg : public ObExprOperator {
virtual int cg_expr(ObExprCGCtx& op_cg_ctx, const ObRawExpr& raw_expr, ObExpr& rt_expr) const override;
private:
private:
static int calc_(const common::ObObj& param, common::ObObj& res, common::ObCastCtx& cast_ctx);
static int calc_param_type(
const ObExprResType& param_type, common::ObObjType& calc_type, common::ObObjType& result_type);
private:
private:
DISALLOW_COPY_AND_ASSIGN(ObExprNeg) const;
};
} // namespace sql