r285258 - Refactor call emission to package the function pointer together with
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 7 13:23:25 PST 2016
> On Nov 4, 2016, at 12:36 AM, Yaron Keren <yaron.keren at gmail.com> wrote:
> Hi John,
>
> clang warns on this:
>
> /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]
> struct {
> ^
> /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]
> struct {
> ^
>
Thanks. Should be fixed in r286152.
John.
>
>
> 2016-10-27 2:46 GMT+03:00 John McCall via cfe-commits <cfe-commits at lists.llvm.org <mailto:cfe-commits at lists.llvm.org>>:
> Author: rjmccall
> Date: Wed Oct 26 18:46:34 2016
> New Revision: 285258
>
> URL: http://llvm.org/viewvc/llvm-project?rev=285258&view=rev <http://llvm.org/viewvc/llvm-project?rev=285258&view=rev>
> Log:
> Refactor call emission to package the function pointer together with
> abstract information about the callee. NFC.
>
> The goal here is to make it easier to recognize indirect calls and
> trigger additional logic in certain cases. That logic will come in
> a later patch; in the meantime, I felt that this was a significant
> improvement to the code.
>
> Modified:
> cfe/trunk/include/clang/AST/Expr.h
> cfe/trunk/include/clang/CodeGen/CGFunctionInfo.h
> cfe/trunk/lib/AST/Expr.cpp
> cfe/trunk/lib/CodeGen/CGAtomic.cpp
> cfe/trunk/lib/CodeGen/CGBlocks.cpp
> cfe/trunk/lib/CodeGen/CGBuiltin.cpp
> cfe/trunk/lib/CodeGen/CGCUDARuntime.cpp
> cfe/trunk/lib/CodeGen/CGCXX.cpp
> cfe/trunk/lib/CodeGen/CGCXXABI.cpp
> cfe/trunk/lib/CodeGen/CGCXXABI.h
> cfe/trunk/lib/CodeGen/CGCall.cpp
> cfe/trunk/lib/CodeGen/CGCall.h
> cfe/trunk/lib/CodeGen/CGClass.cpp
> cfe/trunk/lib/CodeGen/CGDecl.cpp
> cfe/trunk/lib/CodeGen/CGException.cpp
> cfe/trunk/lib/CodeGen/CGExpr.cpp
> cfe/trunk/lib/CodeGen/CGExprCXX.cpp
> cfe/trunk/lib/CodeGen/CGExprComplex.cpp
> cfe/trunk/lib/CodeGen/CGObjC.cpp
> cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
> cfe/trunk/lib/CodeGen/CGObjCMac.cpp
> cfe/trunk/lib/CodeGen/CGVTables.cpp
> cfe/trunk/lib/CodeGen/CodeGenFunction.h
> cfe/trunk/lib/CodeGen/CodeGenModule.h
> cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
> cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161107/422ef4c2/attachment-0001.html>
More information about the cfe-commits
mailing list