Using the new external-linkage warning recently added instead of disabling all return type warnings.

llvm-svn: 150512
This commit is contained in:
Aaron Ballman 2012-02-14 21:44:03 +00:00
parent 76978f9d6c
commit 78f815d3a4
1 changed files with 1 additions and 1 deletions

View File

@ -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 :)