OSDN Git Service

[lldb] Fix "no matching std::pair constructor" on Ubuntu 16.04 (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 28 Aug 2020 00:20:50 +0000 (17:20 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 28 Aug 2020 00:23:44 +0000 (17:23 -0700)
commit7f717b6d1f65f8474e8633b040a16c55f0ad6b96
tree7eca69a7f2f3245625a72046655347ea036a4f65
parent3776999b494d05abc87a52bf8d5317fd3d68a8ab
[lldb] Fix "no matching std::pair constructor" on Ubuntu 16.04 (NFC)

Fixes error: no matching constructor for initialization of
'std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >'
with older toolchain (clang/libcxx) on Ubuntu 16.04. The issue is the
StringRef-to-std::string conversion.
lldb/unittests/Symbol/PostfixExpressionTest.cpp