<div dir="ltr">Could you link to/quote the warnings - might be helpful to understanding what's being addressed here</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 30, 2018 at 10:00 PM Bill Wendling via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: void<br>
Date: Tue Oct 30 21:58:34 2018<br>
New Revision: 345695<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=345695&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=345695&view=rev</a><br>
Log:<br>
Change "struct" to "class" to avoid warnings<br>
<br>
Modified:<br>
    cfe/trunk/include/clang/AST/Expr.h<br>
<br>
Modified: cfe/trunk/include/clang/AST/Expr.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=345695&r1=345694&r2=345695&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=345695&r1=345694&r2=345695&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/include/clang/AST/Expr.h (original)<br>
+++ cfe/trunk/include/clang/AST/Expr.h Tue Oct 30 21:58:34 2018<br>
@@ -900,7 +900,8 @@ public:<br>
 };<br>
<br>
 /// ConstantExpr - An expression that occurs in a constant context.<br>
-struct ConstantExpr : public FullExpr {<br>
+class ConstantExpr : public FullExpr {<br>
+public:<br>
   ConstantExpr(Expr *subexpr)<br>
     : FullExpr(ConstantExprClass, subexpr) {}<br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>