From 5f072d814f840ee6fcf4a12ad9fab32944a61394 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sat, 19 Apr 2014 23:55:49 +0000 Subject: [PATCH] Remove some empty statements Cleanup only. llvm-svn: 206709 --- clang/lib/CodeGen/CGExprScalar.cpp | 2 +- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 08e410be0139..522a0e2d23a9 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -1460,7 +1460,7 @@ Value *ScalarExprEmitter::VisitCastExpr(CastExpr *CE) { // Splat the element across to all elements unsigned NumElements = cast(DstTy)->getNumElements(); - return Builder.CreateVectorSplat(NumElements, Elt, "splat");; + return Builder.CreateVectorSplat(NumElements, Elt, "splat"); } case CK_IntegralCast: diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 69a9092e1c42..129b687ec045 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -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"; }