]> granicus.if.org Git - clang/commitdiff
Remove some empty statements
authorAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 23:55:49 +0000 (23:55 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 23:55:49 +0000 (23:55 +0000)
Cleanup only.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206709 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenModule.cpp

index 08e410be0139324c7eb0b0335a378f47d2d37658..522a0e2d23a9b5b085d9a6ba0c930d219742d904 100644 (file)
@@ -1460,7 +1460,7 @@ Value *ScalarExprEmitter::VisitCastExpr(CastExpr *CE) {
 
     // Splat the element across to all elements
     unsigned NumElements = cast<llvm::VectorType>(DstTy)->getNumElements();
-    return Builder.CreateVectorSplat(NumElements, Elt, "splat");;
+    return Builder.CreateVectorSplat(NumElements, Elt, "splat");
   }
 
   case CK_IntegralCast:
index 69a9092e1c4218c18830636b547ec11c6dce87a0..129b687ec045734e2d0a77bc68c3802befc89ea2 100644 (file)
@@ -2690,7 +2690,7 @@ CodeGenModule::GetAddrOfConstantStringFromLiteral(const StringLiteral *S) {
       LT = llvm::GlobalValue::LinkOnceODRLinkage;
       GlobalVariableName = MangledNameBuffer;
     } else {
-      LT = llvm::GlobalValue::PrivateLinkage;;
+      LT = llvm::GlobalValue::PrivateLinkage;
       GlobalVariableName = ".str";
     }