]> granicus.if.org Git - clang/commitdiff
Change "struct" to "class" to avoid warnings
authorBill Wendling <isanbard@gmail.com>
Wed, 31 Oct 2018 04:58:34 +0000 (04:58 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 31 Oct 2018 04:58:34 +0000 (04:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345695 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 8b94be3be70e922df0e41aa6b2ead022b369eae8..1347f008d9f6d2ea3e05ccac79191ef7b0ec6d87 100644 (file)
@@ -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) {}