Workaround bot failure with explicit conversion to MDTuple*
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Apr 2015 17:00:12 +0000 (17:00 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 7 Apr 2015 17:00:12 +0000 (17:00 +0000)
commitd9624d4956edcb57ba99d022d512ab3ddc74df53
treea9bcb0123a7c5050fb140f0571d423372bba27ed
parent2e25115e02eda8f47786bca06288917c4437c103
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/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234329 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DIBuilder.cpp