]> granicus.if.org Git - clang/commitdiff
Some struct/class mismatch fixes, to silence MSVC warnings.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 7 Mar 2009 12:16:37 +0000 (12:16 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 7 Mar 2009 12:16:37 +0000 (12:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66335 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/CodeGen/ModuleBuilder.h
include/clang/Parse/DeclSpec.h
lib/CodeGen/CodeGenModule.h
lib/Sema/Sema.h

index 4642e4eeeacaef87f508427b1bd41daf817a1fe5..b9f9d1454073c273b292b94742c8eb0412e421e0 100644 (file)
@@ -23,7 +23,7 @@ namespace llvm {
 
 namespace clang {
   class Diagnostic;
-  struct LangOptions;
+  class LangOptions;
   
   class CodeGenerator : public ASTConsumer {
   public:
index 4c1bbdf6d76b3f3bf16bbddc72770c4ac5d7b0ff..09b6e5c52214e3ad420fcf28bfe1cafac01ee961 100644 (file)
@@ -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)
index 76ab0f89378016c5ae013d97975ef3cd1095ff25..c3a84af0c5be4707214ef07e153ad95fb176edf6 100644 (file)
@@ -51,7 +51,7 @@ namespace clang {
   class NamedDecl;
   class ValueDecl;
   class VarDecl;
-  struct LangOptions;
+  class LangOptions;
   class Diagnostic;
   class AnnotateAttr;
 
index 92bc0bc750e89974b6d513926f175ba0e314a9f7..28cb9bf7153c55799f29e42b22484807bece37ae 100644 (file)
@@ -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 {