r344668 - NFC: Remove trailing space from CodeGenModule.cpp

Takuto Ikuta via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 16 21:29:57 PDT 2018


Author: tikuta
Date: Tue Oct 16 21:29:56 2018
New Revision: 344668

URL: http://llvm.org/viewvc/llvm-project?rev=344668&view=rev
Log:
NFC: Remove trailing space from CodeGenModule.cpp

Modified:
    cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=344668&r1=344667&r2=344668&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Tue Oct 16 21:29:56 2018
@@ -4106,17 +4106,17 @@ CodeGenModule::GetAddrOfConstantCFString
 
   llvm::Constant *Zero = llvm::Constant::getNullValue(Int32Ty);
   llvm::Constant *Zeros[] = { Zero, Zero };
-  
+
   // If we don't already have it, get __CFConstantStringClassReference.
   if (!CFConstantStringClassRef) {
     llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy);
     Ty = llvm::ArrayType::get(Ty, 0);
     llvm::Constant *C =
         CreateRuntimeVariable(Ty, "__CFConstantStringClassReference");
-    
+
     if (getTriple().isOSBinFormatELF() || getTriple().isOSBinFormatCOFF()) {
       llvm::GlobalValue *GV = nullptr;
-      
+
       if ((GV = dyn_cast<llvm::GlobalValue>(C))) {
         IdentifierInfo &II = getContext().Idents.get(GV->getName());
         TranslationUnitDecl *TUDecl = getContext().getTranslationUnitDecl();
@@ -4126,7 +4126,7 @@ CodeGenModule::GetAddrOfConstantCFString
         for (const auto &Result : DC->lookup(&II))
           if ((VD = dyn_cast<VarDecl>(Result)))
             break;
-          
+
         if (getTriple().isOSBinFormatELF()) {
           if (!VD)
             GV->setLinkage(llvm::GlobalValue::ExternalLinkage);
@@ -4140,11 +4140,11 @@ CodeGenModule::GetAddrOfConstantCFString
             GV->setLinkage(llvm::GlobalValue::ExternalLinkage);
           }
         }
-        
+
         setDSOLocal(GV);
       }
     }
-  
+
     // Decay array -> ptr
     CFConstantStringClassRef =
         llvm::ConstantExpr::getGetElementPtr(Ty, C, Zeros);
@@ -4197,7 +4197,7 @@ CodeGenModule::GetAddrOfConstantCFString
   // the static linker to adjust permissions to read-only later on.
   else if (getTriple().isOSBinFormatELF())
     GV->setSection(".rodata");
-  
+
   // String.
   llvm::Constant *Str =
       llvm::ConstantExpr::getGetElementPtr(GV->getValueType(), GV, Zeros);
@@ -4876,7 +4876,7 @@ void CodeGenModule::EmitTopLevelDecl(Dec
   case Decl::OMPDeclareReduction:
     EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D));
     break;
- 
+
   case Decl::OMPRequires:
     EmitOMPRequiresDecl(cast<OMPRequiresDecl>(D));
     break;




More information about the cfe-commits mailing list