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:
a9e7fd2
)
Fix r359229 which tried to fix r359159...
author
Chandler Carruth
<chandlerc@gmail.com>
Fri, 26 Apr 2019 05:04:33 +0000
(
05:04
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Fri, 26 Apr 2019 05:04:33 +0000
(
05:04
+0000)
When r359229 added noexcept to the declaration of `~mutex`, it didn't
add it to the definition which caused -Wimplicit-exception-spec-mismatch
to fire. This just adapts the definition to agree with the declaration.
llvm-svn: 359275
libcxx/src/mutex.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/mutex.cpp
b/libcxx/src/mutex.cpp
index
6bb44e0
..
cecb89b
100644
(file)
--- a/
libcxx/src/mutex.cpp
+++ b/
libcxx/src/mutex.cpp
@@
-19,7
+19,7
@@
const defer_lock_t defer_lock = {};
const try_to_lock_t try_to_lock = {};
const adopt_lock_t adopt_lock = {};
-mutex::~mutex()
+mutex::~mutex()
_NOEXCEPT
{
__libcpp_mutex_destroy(&__m_);
}