aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h2
-rw-r--r--include/clang/Parse/DeclSpec.h4
-rw-r--r--lib/CodeGen/CodeGenModule.h2
-rw-r--r--lib/Sema/Sema.h4
4 files changed, 6 insertions, 6 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)
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 76ab0f8937..c3a84af0c5 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -51,7 +51,7 @@ namespace clang {
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 92bc0bc750..28cb9bf715 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -52,7 +52,7 @@ namespace clang {
class TypedefDecl;
class FunctionDecl;
class QualType;
- struct LangOptions;
+ class LangOptions;
class Token;
class IntegerLiteral;
class StringLiteral;
@@ -79,7 +79,7 @@ namespace clang {
class ObjCContainerDecl;
struct BlockSemaInfo;
class BasePaths;
- class MemberLookupCriteria;
+ struct MemberLookupCriteria;
/// Sema - This implements semantic analysis and AST building for C.
class Sema : public Action {