Could you link to/quote the warnings - might be helpful to understanding what's being addressed here
On Tue, Oct 30, 2018 at 10:00 PM Bill Wendling via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: void > Date: Tue Oct 30 21:58:34 2018 > New Revision: 345695 > > URL: http://llvm.org/viewvc/llvm-project?rev=345695&view=rev > Log: > Change "struct" to "class" to avoid warnings > > Modified: > cfe/trunk/include/clang/AST/Expr.h > > Modified: cfe/trunk/include/clang/AST/Expr.h > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=345695&r1=345694&r2=345695&view=diff > > ============================================================================== > --- cfe/trunk/include/clang/AST/Expr.h (original) > +++ cfe/trunk/include/clang/AST/Expr.h Tue Oct 30 21:58:34 2018 > @@ -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) {} > > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits