From bf5c33b752fe172af1f8b2c04cce3049c48f32f8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 12 Mar 2013 21:06:00 +0000 Subject: [PATCH] Whitespace cleanup. llvm-svn: 176896 --- clang/lib/AST/Decl.cpp | 8 ++++---- clang/lib/Sema/SemaDecl.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index 9ee70e251089..da6f03a34c52 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp @@ -1516,7 +1516,7 @@ void VarDecl::setStorageClass(StorageClass SC) { assert(isLegalForVariable(SC)); if (getStorageClass() != SC) ClearLinkageCache(); - + VarDeclBits.SClass = SC; } @@ -2130,7 +2130,7 @@ void FunctionDecl::setStorageClass(StorageClass SC) { assert(isLegalForFunction(SC)); if (getStorageClass() != SC) ClearLinkageCache(); - + SClass = SC; } @@ -2864,8 +2864,8 @@ TagDecl* TagDecl::getCanonicalDecl() { return getFirstDeclaration(); } -void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { - TypedefNameDeclOrQualifier = TDD; +void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { + TypedefNameDeclOrQualifier = TDD; if (TypeForDecl) const_cast(TypeForDecl)->ClearLinkageCache(); ClearLinkageCache(); diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 659d9638f474..dcc1537781e6 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -7153,7 +7153,7 @@ void Sema::AddInitializerToDecl(Decl *RealDecl, Expr *Init, VDecl->setTypeSourceInfo(DeducedType); VDecl->setType(DeducedType->getType()); VDecl->ClearLinkageCache(); - + // In ARC, infer lifetime. if (getLangOpts().ObjCAutoRefCount && inferObjCARCLifetime(VDecl)) VDecl->setInvalidDecl();