]> granicus.if.org Git - clang/commitdiff
Whitespace cleanup.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Mar 2013 21:06:00 +0000 (21:06 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Mar 2013 21:06:00 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176896 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/Decl.cpp
lib/Sema/SemaDecl.cpp

index 9ee70e251089a306565c5a3139baea56149b0eed..da6f03a34c52b374c8140044d56028505f6c7f4f 100644 (file)
@@ -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<Type*>(TypeForDecl)->ClearLinkageCache();
   ClearLinkageCache();
index 659d9638f474f318ef05ac5f0a51e6b04bcf4a7b..dcc1537781e6f02aeeb59c6eb79cca1cfe9d90fb 100644 (file)
@@ -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();