summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:01:17 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:01:17 +0000
commitba9fd9e97eb0a194186ae9fc4d3344f5c8640c09 (patch)
treef1f0f10c7255c1a6387605d9c81e71ce7383dcc1 /lib/CodeGen/CodeGenFunction.cpp
parent99aa2bfed56557805230cb81e1b41008591cc29c (diff)
downloadclang-ba9fd9e97eb0a194186ae9fc4d3344f5c8640c09.tar.gz
clang-ba9fd9e97eb0a194186ae9fc4d3344f5c8640c09.tar.bz2
clang-ba9fd9e97eb0a194186ae9fc4d3344f5c8640c09.tar.xz
[C++11] Replace llvm::tie with std::tie.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index ec04fa261f..c550aaded7 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -1186,7 +1186,7 @@ CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) {
getContext().getAsArrayType(Ty))) {
QualType eltType;
llvm::Value *numElts;
- llvm::tie(numElts, eltType) = getVLASize(vlaType);
+ std::tie(numElts, eltType) = getVLASize(vlaType);
SizeVal = numElts;
CharUnits eltSize = getContext().getTypeSizeInChars(eltType);