]> granicus.if.org Git - clang/commitdiff
Remove tabs.
authorNate Begeman <natebegeman@mac.com>
Tue, 16 Dec 2008 19:57:09 +0000 (19:57 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 16 Dec 2008 19:57:09 +0000 (19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61097 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/Parse/Scope.h
lib/AST/DeclCXX.cpp
lib/CodeGen/CGObjCRuntime.h
lib/CodeGen/CGValue.h

index 45bb2c363770279361a16fbd4607755c27502cfe..cd503130aca0bc51ad46c386570c956499deffad 100644 (file)
@@ -191,8 +191,8 @@ public:
   /// type. FIXME: We will need these to be uniqued, or at least
   /// comparable, at some point.
   QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts,
-                                     ArrayType::ArraySizeModifier ASM,
-                                     unsigned EltTypeQuals);
+                                      ArrayType::ArraySizeModifier ASM,
+                                      unsigned EltTypeQuals);
 
   /// getIncompleteArrayType - Returns a unique reference to the type for a
   /// incomplete array of the specified element type.
index 47d2f90884e3e7b236012e994907c35756fc83c2..8d6cdcb69604b4362019315adbefa6dbfa705094 100644 (file)
@@ -1212,5 +1212,5 @@ protected:
 };
 
 }  // end namespace clang
-       
+
 #endif
index d840c68de50267c092dbb0e504431c254bc3fdfd..a28d8374e373b68077348e864fda0b02273f7664 100644 (file)
@@ -35,13 +35,13 @@ class TemplateTypeParmDecl : public TypeDecl {
   bool Typename : 1;
 
   TemplateTypeParmDecl(DeclContext *DC, SourceLocation L,
-                      IdentifierInfo *Id, bool Typename)
+                       IdentifierInfo *Id, bool Typename)
     : TypeDecl(TemplateTypeParm, DC, L, Id, 0), Typename(Typename) { }
 
 public:
   static TemplateTypeParmDecl *Create(ASTContext &C, DeclContext *DC,
-                                     SourceLocation L, IdentifierInfo *Id,
-                                     bool Typename);
+                                      SourceLocation L, IdentifierInfo *Id,
+                                      bool Typename);
 
   /// wasDeclarationWithTypename - Whether this template type
   /// parameter was declared with the 'typename' keyword. If not, it
@@ -71,14 +71,14 @@ protected:
 /// @endcode
 class NonTypeTemplateParmDecl : public VarDecl {
   NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation L, 
-                         IdentifierInfo *Id, QualType T,
-                         SourceLocation TSSL = SourceLocation())
+                          IdentifierInfo *Id, QualType T,
+                          SourceLocation TSSL = SourceLocation())
     : VarDecl(NonTypeTemplateParm, DC, L, Id, T, VarDecl::None, 0, TSSL) { }
-                         
+
 public:
   static NonTypeTemplateParmDecl *
   Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
-        QualType T, SourceLocation TypeSpecStartLoc = SourceLocation());
+         QualType T, SourceLocation TypeSpecStartLoc = SourceLocation());
 
   // Implement isa/cast/dyncast/etc.
   static bool classof(const Decl *D) {
index ef5f877abb4918f4ea4e61c2134f70bb775d4f5c..0180b47aac6ceea8e04a9344c19563fd2ba391e7 100644 (file)
@@ -248,11 +248,11 @@ public:
     }
     
     // If this scope is a function or contains breaks/continues, remember it.
-    if (Flags & FnScope)                   FnParent = this;
-    if (Flags & BreakScope)                BreakParent = this;
-    if (Flags & ContinueScope)             ContinueParent = this;
+    if (Flags & FnScope)            FnParent = this;
+    if (Flags & BreakScope)         BreakParent = this;
+    if (Flags & ContinueScope)      ContinueParent = this;
     if (Flags & ControlScope)       ControlParent = this;
-    if (Flags & BlockScope)                BlockParent = this;
+    if (Flags & BlockScope)         BlockParent = this;
     if (Flags & TemplateParamScope) TemplateParamParent = this;
     DeclsInScope.clear();
     Entity = 0;
index 12d715e0684a804509530040b65dfac33555a60c..3d9970d2a5c0d18dfa2b6efa9a88347bfd82c63a 100644 (file)
@@ -22,16 +22,16 @@ using namespace clang;
 
 TemplateTypeParmDecl *
 TemplateTypeParmDecl::Create(ASTContext &C, DeclContext *DC,
-                            SourceLocation L, IdentifierInfo *Id,
-                            bool Typename) {
+                             SourceLocation L, IdentifierInfo *Id,
+                             bool Typename) {
   void *Mem = C.getAllocator().Allocate<TemplateTypeParmDecl>();
   return new (Mem) TemplateTypeParmDecl(DC, L, Id, Typename);
 }
 
 NonTypeTemplateParmDecl *
 NonTypeTemplateParmDecl::Create(ASTContext &C, DeclContext *DC, 
-                               SourceLocation L, IdentifierInfo *Id,
-                               QualType T, SourceLocation TypeSpecStartLoc) {
+                                SourceLocation L, IdentifierInfo *Id,
+                                QualType T, SourceLocation TypeSpecStartLoc) {
   void *Mem = C.getAllocator().Allocate<NonTypeTemplateParmDecl>();
   return new (Mem) NonTypeTemplateParmDecl(DC, L, Id, T, TypeSpecStartLoc);
 }
index 46a6c9b8727fd3b34ae31ef422c07419da8a7ac5..4241084bf4f95ebd3e1395bd56f44134688f0058 100644 (file)
@@ -144,7 +144,7 @@ public:
   virtual void EmitThrowStmt(CodeGen::CodeGenFunction &CGF,
                              const ObjCAtThrowStmt &S) = 0;
   virtual llvm::Value * EmitObjCWeakRead(CodeGen::CodeGenFunction &CGF,
-                                        llvm::Value *AddrWeakObj) = 0;
+                                         llvm::Value *AddrWeakObj) = 0;
   virtual void EmitObjCWeakAssign(CodeGen::CodeGenFunction &CGF,
                                   llvm::Value *src, llvm::Value *dest) = 0;
   virtual void EmitObjCGlobalAssign(CodeGen::CodeGenFunction &CGF,
index f16bb0838fcedbb9b34452c3fe6a2838f0cc3960..dbd9dadb14ed7fcedb619cc0d1dc0dce0daa68ff 100644 (file)
@@ -111,9 +111,9 @@ class LValue {
   } LVType;
 
   enum ObjCType {
-    None = 0,  // object with no gc attribute.
-    Weak,      // __weak object expression
-    Strong      // __strong object expression
+    None = 0,     // object with no gc attribute.
+    Weak,         // __weak object expression
+    Strong        // __strong object expression
   };
   
   llvm::Value *V;