forked from OSchip/llvm-project
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
llvm-svn: 92004
This commit is contained in:
parent
3ab9e5077f
commit
35ac67ff8e
|
@ -27,8 +27,7 @@
|
|||
// C++ class which implements the opaque lto_code_gen_t
|
||||
//
|
||||
|
||||
class LTOCodeGenerator {
|
||||
public:
|
||||
struct LTOCodeGenerator {
|
||||
static const char* getVersionString();
|
||||
|
||||
LTOCodeGenerator();
|
||||
|
|
|
@ -38,8 +38,7 @@ namespace llvm {
|
|||
//
|
||||
// C++ class which implements the opaque lto_module_t
|
||||
//
|
||||
class LTOModule {
|
||||
public:
|
||||
struct LTOModule {
|
||||
|
||||
static bool isBitcodeFile(const void* mem, size_t length);
|
||||
static bool isBitcodeFile(const char* path);
|
||||
|
|
Loading…
Reference in New Issue