]> granicus.if.org Git - clang/commit
Fix for use-after-free which caused test failure in cuda-detect.cu.
authorArtem Belevich <tra@google.com>
Wed, 18 Nov 2015 00:37:41 +0000 (00:37 +0000)
committerArtem Belevich <tra@google.com>
Wed, 18 Nov 2015 00:37:41 +0000 (00:37 +0000)
commit51ff8d7aa82cee89c4770832084ef5052692090a
tree7372d16da748ac7a3bda8763cb0c52547d5f11d8
parent66bf0e5936d767a8a3f441581a7b5d0f0842c7ba
Fix for use-after-free which caused test failure in cuda-detect.cu.

Return std::string itself instead StringRef to a temporary std::string.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253410 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.h