Using the new external-linkage warning recently added instead of disabling all return type warnings.
llvm-svn: 150512
This commit is contained in:
parent
76978f9d6c
commit
78f815d3a4
|
@ -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 :)
|
||||
|
|
Loading…
Reference in New Issue