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
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index 4642e4e..b9f9d14 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -23,7 +23,7 @@
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 4c1bbdf..09b6e5c 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 @@
DeclaratorChunk::ParamInfo InlineParams[16];
bool InlineParamsUsed;
- friend class DeclaratorChunk;
+ friend struct DeclaratorChunk;
public:
Declarator(const DeclSpec &ds, TheContext C)
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 76ab0f8..c3a84af 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -51,7 +51,7 @@
class NamedDecl;
class ValueDecl;
class VarDecl;
- struct LangOptions;
+ class LangOptions;
class Diagnostic;
class AnnotateAttr;
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 92bc0bc..28cb9bf 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -52,7 +52,7 @@
class TypedefDecl;
class FunctionDecl;
class QualType;
- struct LangOptions;
+ class LangOptions;
class Token;
class IntegerLiteral;
class StringLiteral;
@@ -79,7 +79,7 @@
class ObjCContainerDecl;
struct BlockSemaInfo;
class BasePaths;
- class MemberLookupCriteria;
+ struct MemberLookupCriteria;
/// Sema - This implements semantic analysis and AST building for C.
class Sema : public Action {