diff options
author | Thomas Anderson <thomasanderson@google.com> | 2019-01-29 18:48:35 +0000 |
---|---|---|
committer | Thomas Anderson <thomasanderson@google.com> | 2019-01-29 18:48:35 +0000 |
commit | db9152c248d242ff89c62bc350250e8064f229ed (patch) | |
tree | 842929fa7fcb7f4d7cea99c8c4c617806c6ae0e1 /llvm/test/CodeGen/X86/cse-add-with-overflow.ll | |
parent | 5be3dbdb082ffba4f846e3572ea802d156dd8d34 (diff) | |
download | bcm5719-llvm-db9152c248d242ff89c62bc350250e8064f229ed.tar.gz bcm5719-llvm-db9152c248d242ff89c62bc350250e8064f229ed.zip |
[libc++] Fix Windows build error in include/filesystem
_LIBCPP_FUNC_VIS is redundant since the class is already annotated with
_LIBCPP_EXCEPTION_ABI.
Fixes this build error:
In file included from fstream:188:
filesystem(1350,3): error: attribute 'dllimport' cannot be applied to member of 'dllimport' class
_LIBCPP_FUNC_VIS
__config(674,37): note: expanded from macro '_LIBCPP_FUNC_VIS'
#define _LIBCPP_FUNC_VIS _LIBCPP_DLL_VIS
__config(666,38): note: expanded from macro '_LIBCPP_DLL_VIS'
# define _LIBCPP_DLL_VIS __declspec(dllimport)
filesystem(1313,7): note: previous attribute is here
class _LIBCPP_EXCEPTION_ABI filesystem_error : public system_error {
__config(675,37): note: expanded from macro '_LIBCPP_EXCEPTION_ABI'
#define _LIBCPP_EXCEPTION_ABI _LIBCPP_DLL_VIS
__config(666,38): note: expanded from macro '_LIBCPP_DLL_VIS'
# define _LIBCPP_DLL_VIS __declspec(dllimport)
Differential Revision: https://reviews.llvm.org/D57354
llvm-svn: 352525
Diffstat (limited to 'llvm/test/CodeGen/X86/cse-add-with-overflow.ll')
0 files changed, 0 insertions, 0 deletions