summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lto/LTOCodeGenerator.h
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 /llvm/tools/lto/LTOCodeGenerator.h
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
Diffstat (limited to 'llvm/tools/lto/LTOCodeGenerator.h')
-rw-r--r--llvm/tools/lto/LTOCodeGenerator.h3
1 files changed, 1 insertions, 2 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();
OpenPOWER on IntegriCloud