aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2012-02-14 21:44:03 +0000
committerAaron Ballman <aaron@aaronballman.com>2012-02-14 21:44:03 +0000
commit010ad7d353372be52e3ed09a42b915c363081f3f (patch)
tree9726e0acc2c2bd90ef4ead756f58f9701fb0aeaa /lib/ExecutionEngine
parentda32e46936cca9ad191d178f6894ca133ba69db2 (diff)
downloadexternal_llvm-010ad7d353372be52e3ed09a42b915c363081f3f.zip
external_llvm-010ad7d353372be52e3ed09a42b915c363081f3f.tar.gz
external_llvm-010ad7d353372be52e3ed09a42b915c363081f3f.tar.bz2
Using the new external-linkage warning recently added instead of disabling all return type warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index c5ed6d1..f4dc183 100644
--- a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -303,7 +303,7 @@ GenericValue Interpreter::callExternalFunction(Function *F,
#endif
#ifdef __clang__
#pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Wreturn-type"
+ #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
#endif
extern "C" { // Don't add C++ manglings to llvm mangling :)