summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-23 17:05:07 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-23 17:05:07 +0000
commit35ac67ff8eb7db3e0ea1177727ec141162481fa7 (patch)
tree80304ea4e58ecf047e9b5cbb51a17c45cfc08398
parent3ab9e5077f79672a269d7b810a193e260832a0ab (diff)
downloadbcm5719-llvm-35ac67ff8eb7db3e0ea1177727ec141162481fa7.tar.gz
bcm5719-llvm-35ac67ff8eb7db3e0ea1177727ec141162481fa7.zip
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
llvm-svn: 92004
-rw-r--r--llvm/tools/lto/LTOCodeGenerator.h3
-rw-r--r--llvm/tools/lto/LTOModule.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/tools/lto/LTOCodeGenerator.h b/llvm/tools/lto/LTOCodeGenerator.h
index 0ebec2ca8b0..2dd3f656577 100644
--- a/llvm/tools/lto/LTOCodeGenerator.h
+++ b/llvm/tools/lto/LTOCodeGenerator.h
@@ -27,8 +27,7 @@
// C++ class which implements the opaque lto_code_gen_t
//
-class LTOCodeGenerator {
-public:
+struct LTOCodeGenerator {
static const char* getVersionString();
LTOCodeGenerator();
diff --git a/llvm/tools/lto/LTOModule.h b/llvm/tools/lto/LTOModule.h
index 4019e015a5d..7f475d40aa0 100644
--- a/llvm/tools/lto/LTOModule.h
+++ b/llvm/tools/lto/LTOModule.h
@@ -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);
OpenPOWER on IntegriCloud