From fea8685bf3036b199c573e70b03affde2583fc44 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 16 Dec 2008 19:57:09 +0000 Subject: [PATCH] Remove tabs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61097 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTContext.h | 4 ++-- include/clang/AST/Decl.h | 2 +- include/clang/AST/DeclCXX.h | 14 +++++++------- include/clang/Parse/Scope.h | 8 ++++---- lib/AST/DeclCXX.cpp | 8 ++++---- lib/CodeGen/CGObjCRuntime.h | 2 +- lib/CodeGen/CGValue.h | 6 +++--- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 45bb2c3637..cd503130ac 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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. diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 47d2f90884..8d6cdcb696 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -1212,5 +1212,5 @@ protected: }; } // end namespace clang - + #endif diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h index d840c68de5..a28d8374e3 100644 --- a/include/clang/AST/DeclCXX.h +++ b/include/clang/AST/DeclCXX.h @@ -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) { diff --git a/include/clang/Parse/Scope.h b/include/clang/Parse/Scope.h index ef5f877abb..0180b47aac 100644 --- a/include/clang/Parse/Scope.h +++ b/include/clang/Parse/Scope.h @@ -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; diff --git a/lib/AST/DeclCXX.cpp b/lib/AST/DeclCXX.cpp index 12d715e068..3d9970d2a5 100644 --- a/lib/AST/DeclCXX.cpp +++ b/lib/AST/DeclCXX.cpp @@ -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(); 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(); return new (Mem) NonTypeTemplateParmDecl(DC, L, Id, T, TypeSpecStartLoc); } diff --git a/lib/CodeGen/CGObjCRuntime.h b/lib/CodeGen/CGObjCRuntime.h index 46a6c9b872..4241084bf4 100644 --- a/lib/CodeGen/CGObjCRuntime.h +++ b/lib/CodeGen/CGObjCRuntime.h @@ -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, diff --git a/lib/CodeGen/CGValue.h b/lib/CodeGen/CGValue.h index f16bb0838f..dbd9dadb14 100644 --- a/lib/CodeGen/CGValue.h +++ b/lib/CodeGen/CGValue.h @@ -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; -- 2.40.0