mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
Fix some -Weffc++ warnings (part 2)
This commit is contained in:
parent
c1f1b1174d
commit
963d150e93
28 changed files with 169 additions and 130 deletions
|
@ -16,6 +16,7 @@
|
|||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#pragma GCC diagnostic ignored "-Weffc++"
|
||||
#ifndef __clang__
|
||||
#pragma GCC diagnostic ignored "-Wduplicated-branches"
|
||||
|
@ -205,13 +206,13 @@ inline FT build_function_asm(F&& builder)
|
|||
class jit_compiler final
|
||||
{
|
||||
// Local LLVM context
|
||||
llvm::LLVMContext m_context;
|
||||
llvm::LLVMContext m_context{};
|
||||
|
||||
// Execution instance
|
||||
std::unique_ptr<llvm::ExecutionEngine> m_engine;
|
||||
std::unique_ptr<llvm::ExecutionEngine> m_engine{};
|
||||
|
||||
// Arch
|
||||
std::string m_cpu;
|
||||
std::string m_cpu{};
|
||||
|
||||
public:
|
||||
jit_compiler(const std::unordered_map<std::string, u64>& _link, const std::string& _cpu, u32 flags = 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue