Revert "Workaround bot failure with explicit conversion to MDTuple*"

This reverts commit r234329, which insufficiently appeased older
`clang`s (apparently that wasn't the only call site).  r234331 was a
more complete fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234333 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2015-04-07 17:30:52 +00:00
parent 05d49df6d8
commit 5351b6d75e

View File

@ -860,7 +860,7 @@ void DIBuilder::replaceArrays(DICompositeType &T, DIArray Elements,
if (Elements)
N->replaceElements(Elements);
if (TParams)
N->replaceTemplateParams(TParams.get());
N->replaceTemplateParams(MDTemplateParameterArray(TParams));
T = N.get();
}