From: Nate Begeman Date: Wed, 20 Feb 2008 22:57:40 +0000 (+0000) Subject: Tabs are the enemy X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1abc7f654df795549d4f6f3a018ddb3a8fff013a;p=clang Tabs are the enemy git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47410 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CodeGen/CodeGenTypes.cpp b/CodeGen/CodeGenTypes.cpp index 2037cfdca6..efdc0e8e5b 100644 --- a/CodeGen/CodeGenTypes.cpp +++ b/CodeGen/CodeGenTypes.cpp @@ -416,7 +416,7 @@ CodeGenTypes::BitFieldInfo CodeGenTypes::getBitFieldInfo(const FieldDecl *FD) { /// addBitFieldInfo - Assign a start bit and a size to field FD. void CodeGenTypes::addBitFieldInfo(const FieldDecl *FD, unsigned Begin, - unsigned Size) { + unsigned Size) { BitFields.insert(std::make_pair(FD, BitFieldInfo(Begin, Size))); } diff --git a/Sema/Sema.h b/Sema/Sema.h index ae357507a4..c6aad30d41 100644 --- a/Sema/Sema.h +++ b/Sema/Sema.h @@ -195,8 +195,8 @@ private: virtual DeclTy *ActOnFinishFunctionBody(DeclTy *Decl, StmtTy *Body); virtual DeclTy *ActOnLinkageSpec(SourceLocation Loc, SourceLocation LBrace, - SourceLocation RBrace, const char *Lang, - unsigned StrSize, DeclTy *D); + SourceLocation RBrace, const char *Lang, + unsigned StrSize, DeclTy *D); virtual DeclTy *ActOnFileScopeAsmDecl(SourceLocation Loc, ExprTy *expr); /// Scope actions. @@ -532,7 +532,7 @@ public: // Objective-C declarations. virtual DeclTy *ActOnStartClassInterface( - SourceLocation AtInterafceLoc, + SourceLocation AtInterafceLoc, IdentifierInfo *ClassName, SourceLocation ClassLoc, IdentifierInfo *SuperName, SourceLocation SuperLoc, IdentifierInfo **ProtocolNames, unsigned NumProtocols, @@ -544,20 +544,20 @@ public: IdentifierInfo *ClassName, SourceLocation ClassLocation); virtual DeclTy *ActOnStartProtocolInterface( - SourceLocation AtProtoInterfaceLoc, + SourceLocation AtProtoInterfaceLoc, IdentifierInfo *ProtocolName, SourceLocation ProtocolLoc, IdentifierInfo **ProtoRefNames, unsigned NumProtoRefs, SourceLocation EndProtoLoc); virtual DeclTy *ActOnStartCategoryInterface( - SourceLocation AtInterfaceLoc, + SourceLocation AtInterfaceLoc, IdentifierInfo *ClassName, SourceLocation ClassLoc, IdentifierInfo *CategoryName, SourceLocation CategoryLoc, IdentifierInfo **ProtoRefNames, unsigned NumProtoRefs, SourceLocation EndProtoLoc); virtual DeclTy *ActOnStartClassImplementation( - SourceLocation AtClassImplLoc, + SourceLocation AtClassImplLoc, IdentifierInfo *ClassName, SourceLocation ClassLoc, IdentifierInfo *SuperClassname, SourceLocation SuperClassLoc); @@ -759,7 +759,7 @@ private: bool CheckInitExpr(Expr *expr, InitListExpr *IList, unsigned slot, QualType ElementType); bool CheckInitializerListTypes(InitListExpr*& IList, QualType &DeclType, - bool topLevel, unsigned& startIndex); + bool topLevel, unsigned& startIndex); bool CheckForConstantInitializer(Expr *e, QualType t); StringLiteral *IsStringLiteralInit(Expr *Init, QualType DeclType);