summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DIBuilder.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 17:00:12 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 17:00:12 +0000
commitd382ed25f65ccd282c83fde2160aae798acdedc6 (patch)
tree9009262ec38e20e4e0ff986d6e9ad34df97a9a3d /llvm/lib/IR/DIBuilder.cpp
parentd436b2a4ce62125aea27479ae30acedf36f2d8c7 (diff)
downloadbcm5719-llvm-d382ed25f65ccd282c83fde2160aae798acdedc6.tar.gz
bcm5719-llvm-d382ed25f65ccd282c83fde2160aae798acdedc6.zip
Workaround bot failure with explicit conversion to MDTuple*
A bot is failing [1] after r234326, apparently because this code doesn't do what I think it should: template <class U> explicit MDTupleTypedArrayWrapper( const U &Tuple, typename std::enable_if< std::is_constructible<const MDTuple *, U>::value>::type * = nullptr) : N(Tuple) {} Just be explicit for now. [1]: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/8201/ llvm-svn: 234329
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index 9ba20109168..2b0053be524 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/lib/IR/DIBuilder.cpp
@@ -860,7 +860,7 @@ void DIBuilder::replaceArrays(DICompositeType &T, DIArray Elements,
if (Elements)
N->replaceElements(Elements);
if (TParams)
- N->replaceTemplateParams(MDTemplateParameterArray(TParams));
+ N->replaceTemplateParams(TParams.get());
T = N.get();
}
OpenPOWER on IntegriCloud