Skip to content

Commit 367d464

Browse files
committed
first attempt
1 parent 42da79c commit 367d464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/llvm/ADT/StringRef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ namespace llvm {
576576
// allowed), but (b) misclassifies the the construction as nothrow. Newer libc++
577577
// releases reject user specializations of this trait outright, and also compute
578578
// the trait correctly without help.
579-
#if !defined(_LIBCPP_VERSION)
579+
#if !defined(_LIBCPP_VERSION) && (!defined(_MSC_VER) || _MSC_VER < 1951)
580580
namespace std {
581581
template<>
582582
struct is_nothrow_constructible <std::string, llvm::StringRef>

0 commit comments

Comments
 (0)