From 94f13e37e55a5f155cdbe4dbc7bb2cb3a5b43860 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 31 Oct 2018 04:58:34 +0000 Subject: [PATCH] Change "struct" to "class" to avoid warnings git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345695 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/Expr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {} -- 2.50.1