[compiler-rt] aa2a319 - [ORC-RT] Remove a stray __orc_rt::string_view helper.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 7 11:23:34 PDT 2022


Author: Lang Hames
Date: 2022-08-07T11:23:09-07:00
New Revision: aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7

URL: https://github.com/llvm/llvm-project/commit/aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7
DIFF: https://github.com/llvm/llvm-project/commit/aa2a3196e28425c6bcf74bbf913efeda1f7fa1c7.diff

LOG: [ORC-RT] Remove a stray __orc_rt::string_view helper.

This function was accidentally left in after 1dcff823db9.

Added: 
    

Modified: 
    compiler-rt/lib/orc/adt.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/orc/adt.h b/compiler-rt/lib/orc/adt.h
index a76aa5ad9777..8884cc8812be 100644
--- a/compiler-rt/lib/orc/adt.h
+++ b/compiler-rt/lib/orc/adt.h
@@ -58,10 +58,6 @@ template <typename T, std::size_t Extent = dynamic_extent> class span {
   size_type Size = 0;
 };
 
-inline std::ostream &operator<<(std::ostream &OS, std::string_view S) {
-  return OS.write(S.data(), S.size());
-}
-
 } // end namespace __orc_rt
 
 #endif // ORC_RT_ADT_H


        


More information about the llvm-commits mailing list