EE/Interpreter/ExternalFunctions.cpp: Prune "C" linkage to suppress warnings with...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 24 Feb 2012 00:19:58 +0000 (00:19 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 24 Feb 2012 00:19:58 +0000 (00:19 +0000)
commit423cbc51440e9b7381ae7372c33fd76562c35e5f
treeb5c4a372c447c24162ba51f1d17948ad5b28d0ca
parentdb9538923eb95df48e9a6abe7e3b0ba8435915d7
EE/Interpreter/ExternalFunctions.cpp: Prune "C" linkage to suppress warnings with -Wreturn-type (and MSC's w4190).

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">.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp