From 010ad7d353372be52e3ed09a42b915c363081f3f Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 14 Feb 2012 21:44:03 +0000 Subject: [PATCH] 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 --- lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 :) -- 2.34.1