mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
734d236aaf
commit
1f291059b2
@ -27,8 +27,7 @@
|
|||||||
// C++ class which implements the opaque lto_code_gen_t
|
// C++ class which implements the opaque lto_code_gen_t
|
||||||
//
|
//
|
||||||
|
|
||||||
class LTOCodeGenerator {
|
struct LTOCodeGenerator {
|
||||||
public:
|
|
||||||
static const char* getVersionString();
|
static const char* getVersionString();
|
||||||
|
|
||||||
LTOCodeGenerator();
|
LTOCodeGenerator();
|
||||||
|
@ -38,8 +38,7 @@ namespace llvm {
|
|||||||
//
|
//
|
||||||
// C++ class which implements the opaque lto_module_t
|
// C++ class which implements the opaque lto_module_t
|
||||||
//
|
//
|
||||||
class LTOModule {
|
struct LTOModule {
|
||||||
public:
|
|
||||||
|
|
||||||
static bool isBitcodeFile(const void* mem, size_t length);
|
static bool isBitcodeFile(const void* mem, size_t length);
|
||||||
static bool isBitcodeFile(const char* path);
|
static bool isBitcodeFile(const char* path);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user