mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-05 00:59:19 +00:00
Supressed warning: declared ‘static’ but never defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
43be377dc0
commit
1108fa47f5
@ -20,9 +20,20 @@
|
||||
#include "llvm/IR/Module.h"
|
||||
#include "llvm/IR/PassManager.h"
|
||||
#include "llvm/Support/SourceMgr.h"
|
||||
|
||||
// Workaround for the gcc 7.1 bug PR80916.
|
||||
#if defined(__GNUC__) && __GNUC__ > 6
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#endif
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ > 6
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user