[llvm-commits] [llvm] r92004 - in /llvm/trunk/tools/lto: LTOCodeGenerator.h LTOModule.h
Douglas Gregor
dgregor at apple.com
Wed Dec 23 09:05:08 PST 2009
Author: dgregor
Date: Wed Dec 23 11:05:07 2009
New Revision: 92004
URL: http://llvm.org/viewvc/llvm-project?rev=92004&view=rev
Log:
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
Modified:
llvm/trunk/tools/lto/LTOCodeGenerator.h
llvm/trunk/tools/lto/LTOModule.h
Modified: llvm/trunk/tools/lto/LTOCodeGenerator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.h?rev=92004&r1=92003&r2=92004&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOCodeGenerator.h (original)
+++ llvm/trunk/tools/lto/LTOCodeGenerator.h Wed Dec 23 11:05:07 2009
@@ -27,8 +27,7 @@
// C++ class which implements the opaque lto_code_gen_t
//
-class LTOCodeGenerator {
-public:
+struct LTOCodeGenerator {
static const char* getVersionString();
LTOCodeGenerator();
Modified: llvm/trunk/tools/lto/LTOModule.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOModule.h?rev=92004&r1=92003&r2=92004&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOModule.h (original)
+++ llvm/trunk/tools/lto/LTOModule.h Wed Dec 23 11:05:07 2009
@@ -38,8 +38,7 @@
//
// 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);
More information about the llvm-commits
mailing list