[libcxx-commits] [libcxx] 4cb5c64 - [libc++] Use _LIBCPP_HIDE_FROM_ABI_VIRTUAL instead of _LIBCPP_INLINE_VISIBILITY attribute on virtual function
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 10 16:32:39 PST 2023
Author: yronglin
Date: 2023-01-11T08:32:03+08:00
New Revision: 4cb5c640db4b98027f2c9054d708a328fcc78d66
URL: https://github.com/llvm/llvm-project/commit/4cb5c640db4b98027f2c9054d708a328fcc78d66
DIFF: https://github.com/llvm/llvm-project/commit/4cb5c640db4b98027f2c9054d708a328fcc78d66.diff
LOG: [libc++] Use _LIBCPP_HIDE_FROM_ABI_VIRTUAL instead of _LIBCPP_INLINE_VISIBILITY attribute on virtual function
Reviewed By: #libc, philnik, ldionne
Differential Revision: https://reviews.llvm.org/D141388
Added:
Modified:
libcxx/include/sstream
Removed:
################################################################################
diff --git a/libcxx/include/sstream b/libcxx/include/sstream
index 20f9c60d4c240..78cc28a502824 100644
--- a/libcxx/include/sstream
+++ b/libcxx/include/sstream
@@ -260,7 +260,7 @@ protected:
int_type overflow (int_type __c = traits_type::eof()) override;
pos_type seekoff(off_type __off, ios_base::seekdir __way,
ios_base::openmode __wch = ios_base::in | ios_base::out) override;
- _LIBCPP_INLINE_VISIBILITY
+ _LIBCPP_HIDE_FROM_ABI_VIRTUAL
pos_type seekpos(pos_type __sp,
ios_base::openmode __wch = ios_base::in | ios_base::out) override {
return seekoff(__sp, ios_base::beg, __wch);
More information about the libcxx-commits
mailing list