Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang

llvm-svn: 92004
This commit is contained in:
Douglas Gregor 2009-12-23 17:05:07 +00:00
parent 3ab9e5077f
commit 35ac67ff8e
2 changed files with 2 additions and 4 deletions

View File

@ -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();

View File

@ -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);