Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-01-25 02:10:02 +0300
committerEric Fiselier <eric@efcs.ca>2018-01-25 02:10:02 +0300
commitb1539e0a0d442021aa950f3747b97bb5f1cb541a (patch)
treed369dd06543754482ace33a1e1788cc90206b392 /libcxx/include/tuple
parentd78ba0d4b223af199b0f5141f7616b2a151b0253 (diff)
Fix missing return in __tuple_leaf::__can_bind_reference when __reference_binds_to_temporary added in r323380.
llvm-svn: 323389
Diffstat (limited to 'libcxx/include/tuple')
-rw-r--r--libcxx/include/tuple2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple
index 1accb9c67a73..2e19f7ca8e9b 100644
--- a/libcxx/include/tuple
+++ b/libcxx/include/tuple
@@ -175,6 +175,8 @@ class __tuple_leaf
static constexpr bool __can_bind_reference() {
#if __has_keyword(__reference_binds_to_temporary)
return !__reference_binds_to_temporary(_Hp, _Tp);
+#else
+ return true;
#endif
}