diff options
author | Alp Toker <alp@nuanti.com> | 2014-04-19 23:55:49 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-04-19 23:55:49 +0000 |
commit | 5f072d814f840ee6fcf4a12ad9fab32944a61394 (patch) | |
tree | 65c98b95532f41a203fa877684d3e82eb9e36a83 | |
parent | a2bfd66e0e74cc4592c9d04d8a67a73346451df8 (diff) | |
download | bcm5719-llvm-5f072d814f840ee6fcf4a12ad9fab32944a61394.tar.gz bcm5719-llvm-5f072d814f840ee6fcf4a12ad9fab32944a61394.zip |
Remove some empty statements
Cleanup only.
llvm-svn: 206709
-rw-r--r-- | clang/lib/CodeGen/CGExprScalar.cpp | 2 | ||||
-rw-r--r-- | 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 08e410be013..522a0e2d23a 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<llvm::VectorType>(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 69a9092e1c4..129b687ec04 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"; } |