[PATCH] D11848: AST: Implement mangling support for function types without a prototype.

Peter Collingbourne via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 14:24:12 PDT 2015


pcc created this revision.
pcc added a reviewer: majnemer.
pcc added a subscriber: cfe-commits.

Function types without prototypes can arise when mangling a function type
within an overloadable function in C. We mangle these as we do a function
with an empty variadic argument list in C++.

http://reviews.llvm.org/D11848

Files:
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  test/CodeGen/mangle-ms.c
  test/CodeGen/overloadable.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11848.31543.patch
Type: text/x-patch
Size: 3865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150807/855b9016/attachment.bin>


More information about the cfe-commits mailing list