diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:01:17 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-02 13:01:17 +0000 |
| commit | 867ea1d42604259bb1e93932a59502e7944d3f49 (patch) | |
| tree | f66f726c09c203f61279cca91ed12d94679b7788 /clang/lib/CodeGen/CGBlocks.cpp | |
| parent | d40922989ad5739175b8904acad17a5d5241c703 (diff) | |
| download | bcm5719-llvm-867ea1d42604259bb1e93932a59502e7944d3f49.tar.gz bcm5719-llvm-867ea1d42604259bb1e93932a59502e7944d3f49.zip | |
[C++11] Replace llvm::tie with std::tie.
llvm-svn: 202639
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGBlocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.cpp b/clang/lib/CodeGen/CGBlocks.cpp index 72828152472..a22fc3f03a7 100644 --- a/clang/lib/CodeGen/CGBlocks.cpp +++ b/clang/lib/CodeGen/CGBlocks.cpp @@ -300,8 +300,8 @@ static void initializeForBlockHeader(CodeGenModule &CGM, CGBlockInfo &info, // The header is basically a 'struct { void *; int; int; void *; void *; }'. CharUnits ptrSize, ptrAlign, intSize, intAlign; - llvm::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); - llvm::tie(intSize, intAlign) = C.getTypeInfoInChars(C.IntTy); + std::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); + std::tie(intSize, intAlign) = C.getTypeInfoInChars(C.IntTy); // Are there crazy embedded platforms where this isn't true? assert(intSize <= ptrSize && "layout assumptions horribly violated"); |

