[llvm-commits] [llvm] r150512 - /llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

Aaron Ballman aaron at aaronballman.com
Tue Feb 14 13:44:03 PST 2012


Author: aaronballman
Date: Tue Feb 14 15:44:03 2012
New Revision: 150512

URL: http://llvm.org/viewvc/llvm-project?rev=150512&view=rev
Log:
Using the new external-linkage warning recently added instead of disabling all return type warnings.

Modified:
    llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp

Modified: llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp?rev=150512&r1=150511&r2=150512&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp Tue Feb 14 15:44:03 2012
@@ -303,7 +303,7 @@
 #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 :)





More information about the llvm-commits mailing list