File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -570,24 +570,4 @@ namespace llvm {
570570 template <> struct isPodLike <StringRef> { static const bool value = true ; };
571571}
572572
573- // HLSL Change Starts
574- // StringRef provides an operator string; that trips up the std::pair noexcept specification,
575- // which (a) enables the moves constructor (because conversion is allowed), but (b)
576- // misclassifies the the construction as nothrow.
577- namespace std {
578- template <>
579- struct is_nothrow_constructible <std::string, llvm::StringRef>
580- : std::false_type {
581- };
582- template <>
583- struct is_nothrow_constructible <std::string, llvm::StringRef &>
584- : std::false_type {
585- };
586- template <>
587- struct is_nothrow_constructible <std::string, const llvm::StringRef &>
588- : std::false_type {
589- };
590- }
591- // HLSL Change Ends
592-
593573#endif
You can’t perform that action at this time.
0 commit comments