summaryrefslogtreecommitdiffstats
path: root/include/clang/AST/Expr.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2018-10-31 04:58:34 +0000
committerBill Wendling <isanbard@gmail.com>2018-10-31 04:58:34 +0000
commit94f13e37e55a5f155cdbe4dbc7bb2cb3a5b43860 (patch)
tree5f1267cc2f7e517754f0fd029e0c6be3e3b5e532 /include/clang/AST/Expr.h
parent0680f97fc4904c486a8b6a66928b329d3d7cd65c (diff)
Change "struct" to "class" to avoid warnings
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@345695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Expr.h')
-rw-r--r--include/clang/AST/Expr.h3
1 files changed, 2 insertions, 1 deletions
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) {}