diff --git a/include/llvm/ADT/StringRef.h b/include/llvm/ADT/StringRef.h index c103fdbf3b..3768c48b69 100644 --- a/include/llvm/ADT/StringRef.h +++ b/include/llvm/ADT/StringRef.h @@ -570,24 +570,4 @@ namespace llvm { template <> struct isPodLike { static const bool value = true; }; } -// HLSL Change Starts -// StringRef provides an operator string; that trips up the std::pair noexcept specification, -// which (a) enables the moves constructor (because conversion is allowed), but (b) -// misclassifies the the construction as nothrow. -namespace std { - template<> - struct is_nothrow_constructible - : std::false_type { - }; - template<> - struct is_nothrow_constructible - : std::false_type { - }; - template<> - struct is_nothrow_constructible - : std::false_type { - }; -} -// HLSL Change Ends - #endif