[llvm-commits] [PATCH 1/2] EE/Interpreter/ExternalFunctions.cpp: Prune "C" linkage to suppress warnings with -Wreturn-type (and MSC's w4190).

NAKAMURA Takumi geek4civic at gmail.com
Sat Feb 11 17:22:21 PST 2012


In historical reason, Interpreter's external entries had prefix
"lle_X_" as C linkage, even for well-known entries in EE/Interpreter.
Now, at least on ToT, they are resolved via FuncNames[] mapper.
We will not need their symbols are expected to be exported any more.

Clang r150128 has introduced the warning <"%0 has C-linkage specified,
but returns user-defined type %1 which is incompatible with C">.
---
 .../Interpreter/ExternalFunctions.cpp              |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-EE-Interpreter-ExternalFunctions.cpp-Prune-C-lin.patch.txt
Type: text/x-patch
Size: 1160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120212/1e4e9efd/attachment.bin>


More information about the llvm-commits mailing list