projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8e412
)
[libc++] Fix Windows DLL build for string.
author
Eric Fiselier
<eric@efcs.ca>
Thu, 16 Jan 2020 20:00:34 +0000
(15:00 -0500)
committer
Eric Fiselier
<eric@efcs.ca>
Thu, 16 Jan 2020 20:01:12 +0000
(15:01 -0500)
We need to mark string::npos with _LIBCPP_FUNC_VIS on the first
in-class declaration, otherwise it might get ignored
libcxx/include/string
patch
|
blob
|
history
diff --git
a/libcxx/include/string
b/libcxx/include/string
index
2556301
..
313ef9f
100644
(file)
--- a/
libcxx/include/string
+++ b/
libcxx/include/string
@@
-785,6
+785,7
@@
private:
__compressed_pair<__rep, allocator_type> __r_;
public:
+ _LIBCPP_FUNC_VIS
static const size_type npos = -1;
_LIBCPP_INLINE_VISIBILITY basic_string()