summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__split_buffer
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-10 19:47:54 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-10 19:47:54 +0000
commitf5799be4a8971d09acf3bf4067aee815162c3c32 (patch)
tree44cecea24c10a24107419c113b4b203b674ad13b /libcxx/include/__split_buffer
parenta880fa0b28672356668e32166bb316d321f1c406 (diff)
downloadbcm5719-llvm-f5799be4a8971d09acf3bf4067aee815162c3c32.tar.gz
bcm5719-llvm-f5799be4a8971d09acf3bf4067aee815162c3c32.zip
Add CMake build and fix major Linux blockers.
llvm-svn: 121510
Diffstat (limited to 'libcxx/include/__split_buffer')
-rw-r--r--libcxx/include/__split_buffer6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer
index 88e2c837503..718fd88716c 100644
--- a/libcxx/include/__split_buffer
+++ b/libcxx/include/__split_buffer
@@ -85,12 +85,14 @@ public:
void shrink_to_fit();
void push_front(const_reference __x);
void push_back(const_reference __x);
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#if !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES)
void push_front(value_type&& __x);
void push_back(value_type&& __x);
+#if !defined(_LIBCPP_HAS_NO_VARIADICS)
template <class... _Args>
void emplace_back(_Args&&... __args);
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+#endif // !defined(_LIBCPP_HAS_NO_VARIADICS)
+#endif // !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES)
_LIBCPP_INLINE_VISIBILITY void pop_front() {__destruct_at_begin(__begin_+1);}
_LIBCPP_INLINE_VISIBILITY void pop_back() {__destruct_at_end(__end_-1);}
OpenPOWER on IntegriCloud