diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-23 17:05:07 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-23 17:05:07 +0000 |
commit | 1f291059b26350bd96d7723d28a35734fe0a1484 (patch) | |
tree | 8526fff2ab91487f2f81bd93a5cbe4f3b71aff49 /tools/lto/LTOCodeGenerator.h | |
parent | 734d236aaf7ef19a9699882a26cd6ba2bb1c27c6 (diff) | |
download | external_llvm-1f291059b26350bd96d7723d28a35734fe0a1484.zip external_llvm-1f291059b26350bd96d7723d28a35734fe0a1484.tar.gz external_llvm-1f291059b26350bd96d7723d28a35734fe0a1484.tar.bz2 |
Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOCodeGenerator.h')
-rw-r--r-- | tools/lto/LTOCodeGenerator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/lto/LTOCodeGenerator.h b/tools/lto/LTOCodeGenerator.h index 0ebec2c..2dd3f65 100644 --- 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(); |