diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-07 12:16:37 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-03-07 12:16:37 +0000 |
commit | 43af76e845c95be160c088ec11ba3c43e2527fa8 (patch) | |
tree | ec2c915110759d32db07e88afa7c0eb4bf419130 /include | |
parent | c5613db921c87067660b262af379b38a2791e412 (diff) |
Some struct/class mismatch fixes, to silence MSVC warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/CodeGen/ModuleBuilder.h | 2 | ||||
-rw-r--r-- | include/clang/Parse/DeclSpec.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h index 4642e4eeea..b9f9d14540 100644 --- a/include/clang/CodeGen/ModuleBuilder.h +++ b/include/clang/CodeGen/ModuleBuilder.h @@ -23,7 +23,7 @@ namespace llvm { namespace clang { class Diagnostic; - struct LangOptions; + class LangOptions; class CodeGenerator : public ASTConsumer { public: diff --git a/include/clang/Parse/DeclSpec.h b/include/clang/Parse/DeclSpec.h index 4c1bbdf6d7..09b6e5c522 100644 --- a/include/clang/Parse/DeclSpec.h +++ b/include/clang/Parse/DeclSpec.h @@ -21,7 +21,7 @@ #include "llvm/ADT/PointerIntPair.h" namespace clang { - struct LangOptions; + class LangOptions; class Diagnostic; class IdentifierInfo; @@ -776,7 +776,7 @@ private: DeclaratorChunk::ParamInfo InlineParams[16]; bool InlineParamsUsed; - friend class DeclaratorChunk; + friend struct DeclaratorChunk; public: Declarator(const DeclSpec &ds, TheContext C) |