diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-12-23 23:37:52 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-12-23 23:37:52 +0000 |
commit | fd838227411f3ce1fa348f1d334266231bbcc84d (patch) | |
tree | 204de9a3dad8b79d83bba224d8f6d4775169483f /libcxx/include/experimental/filesystem | |
parent | 16166a4d71fca27f454a0837465143700dd41e98 (diff) | |
download | bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.tar.gz bcm5719-llvm-fd838227411f3ce1fa348f1d334266231bbcc84d.zip |
Fix unused parameters and variables
llvm-svn: 290459
Diffstat (limited to 'libcxx/include/experimental/filesystem')
-rw-r--r-- | libcxx/include/experimental/filesystem | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libcxx/include/experimental/filesystem b/libcxx/include/experimental/filesystem index 410235f11a3..739918bb2cb 100644 --- a/libcxx/include/experimental/filesystem +++ b/libcxx/include/experimental/filesystem @@ -1218,14 +1218,18 @@ private: template <class... _Args> _LIBCPP_NORETURN inline _LIBCPP_ALWAYS_INLINE +#ifndef _LIBCPP_NO_EXCEPTIONS void __throw_filesystem_error(_Args && ...__args) { -#ifndef _LIBCPP_NO_EXCEPTIONS throw filesystem_error(std::forward<_Args>(__args)...); +} #else +void __throw_filesystem_error(_Args&&...) +{ _VSTD::abort(); -#endif } +#endif + // operational functions |