projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
[oota-llvm.git]
/
tools
/
lto
/
LTOCodeGenerator.h
diff --git
a/tools/lto/LTOCodeGenerator.h
b/tools/lto/LTOCodeGenerator.h
index 0ebec2ca8b0f5376d6e53ec19839d12bfada75eb..2dd3f6565775899b93173d51c453f9c908115bc1 100644
(file)
--- a/
tools/lto/LTOCodeGenerator.h
+++ b/
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();