From: Bill Wendling Date: Wed, 31 Oct 2018 04:58:34 +0000 (+0000) Subject: Change "struct" to "class" to avoid warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94f13e37e55a5f155cdbe4dbc7bb2cb3a5b43860;p=clang Change "struct" to "class" to avoid warnings git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345695 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 8b94be3be7..1347f008d9 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -900,7 +900,8 @@ public: }; /// ConstantExpr - An expression that occurs in a constant context. -struct ConstantExpr : public FullExpr { +class ConstantExpr : public FullExpr { +public: ConstantExpr(Expr *subexpr) : FullExpr(ConstantExprClass, subexpr) {}