llvm-project/libcxx
Shoaib Meenai 8e07cadde0 [libc++] Hoist explicit instantiation above implicit. NFC
The string literal operators have implicit instantiations of
basic_string<char> and basic_string<wchar>, which prevent the dllimport
on the subsequent explicit instantiation declarations from having an
effect. Hoisting the explicit instantiations above the implicit ones
fixes the issue.

I think it's pretty unfortunate that the ordering has such an effect,
and I'd fixed the same issue for dllexport in r288682. dllimport is more
complicated from a codegen perspective, however, and clang's behavior of
ignoring the dllimport when there's a previous implicit instantiation is
consistent with cl, so changing the order is our only recourse.

llvm-svn: 306632
2017-06-29 02:52:46 +00:00
..
benchmarks [locale] Avoid copy of __atoms when char_type is char 2017-06-14 23:17:45 +00:00
cmake Correct typo: LIBCXXABI_BUILTINS_LIBRARY -> LIBCXX_BUILTINS_LIBRARY 2017-05-25 22:43:42 +00:00
docs Fix misspelling of environment throughout libc++ 2017-05-09 23:47:20 +00:00
include [libc++] Hoist explicit instantiation above implicit. NFC 2017-06-29 02:52:46 +00:00
lib Move external instantiation for __vector_base_common to vector.cpp 2017-06-15 01:53:12 +00:00
src path: Use string_view_t consistently 2017-06-19 04:27:41 +00:00
test Added failing tests for index out of range for tuple_element<pair<T1,T2>> and variant_alternative<> 2017-06-28 18:18:30 +00:00
utils remove incorrectly committed assertion 2017-06-15 03:02:43 +00:00
www Updated notest on 2974 2017-06-28 18:19:34 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Make clang-format use C++03 syntax 2017-04-15 02:45:43 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt Fix discovery of cxxabi.h in the monorepo layout 2017-06-20 20:34:13 +00:00
CREDITS.TXT Updated email address in `CREDITS.txt`. 2017-03-06 20:46:55 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Add list of filesystem NB comments to TODO.TXT so they can be tracked separately 2017-03-06 21:23:36 +00:00
appveyor-reqs-install.cmd Upgrade Clang version used by appveyor 2017-06-01 01:00:59 +00:00
appveyor.yml Rename Appveyor install helper script. 2017-05-10 02:43:02 +00:00