diff --git a/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp index c5ed6d16b22..f4dc183f005 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 :)