<div dir="rtl"><div dir="ltr">Hi John, </div><div dir="ltr"><br></div><div dir="ltr">clang warns on this:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">/llvm/tools/zapccs/../clang/include/../lib/CodeGen/CGCall.h:79:7: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]</div><div dir="ltr"> struct {</div><div dir="ltr"> ^</div><div dir="ltr">/llvm/tools/zapccs/../clang/include/../lib/CodeGen/CGCall.h:83:7: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types]</div><div dir="ltr"> struct {</div><div dir="ltr"> ^</div><div dir="ltr"><br></div></div><div dir="ltr"><br></div><div class="gmail_extra" dir="ltr"><br><div class="gmail_quote"><div>2016-10-27 2:46 GMT+03:00 John McCall via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span>:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Author: rjmccall<br>
Date: Wed Oct 26 18:46:34 2016<br>
New Revision: 285258<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=285258&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=285258&view=rev</a><br>
Log:<br>
Refactor call emission to package the function pointer together with<br>
abstract information about the callee. NFC.<br>
<br>
The goal here is to make it easier to recognize indirect calls and<br>
trigger additional logic in certain cases. That logic will come in<br>
a later patch; in the meantime, I felt that this was a significant<br>
improvement to the code.<br>
<br>
Modified:<br>
cfe/trunk/include/clang/AST/<wbr>Expr.h<br>
cfe/trunk/include/clang/<wbr>CodeGen/CGFunctionInfo.h<br>
cfe/trunk/lib/AST/Expr.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGAtomic.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGBlocks.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGBuiltin.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGCUDARuntime.cpp<br>
cfe/trunk/lib/CodeGen/CGCXX.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGCXXABI.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGCXXABI.h<br>
cfe/trunk/lib/CodeGen/CGCall.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/CGCall.h<br>
cfe/trunk/lib/CodeGen/CGClass.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/CGDecl.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGException.cpp<br>
cfe/trunk/lib/CodeGen/CGExpr.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGExprCXX.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGExprComplex.cpp<br>
cfe/trunk/lib/CodeGen/CGObjC.<wbr>cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGObjCGNU.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGObjCMac.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CGVTables.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>CodeGenFunction.h<br>
cfe/trunk/lib/CodeGen/<wbr>CodeGenModule.h<br>
cfe/trunk/lib/CodeGen/<wbr>ItaniumCXXABI.cpp<br>
cfe/trunk/lib/CodeGen/<wbr>MicrosoftCXXABI.cpp<br>
<br><br></blockquote></div></div></div>