summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/module/module.interface/p3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* C++ DR2387: a variable template declared wtih (or instantiated with) aRichard Smith2019-04-261-1/+1
| | | | | | | | | const-qualified type is not implicitly given internal linkage. But a variable template declared 'static' is. This reinstates part of r359048, reverted in r359076. llvm-svn: 359260
* Revert r359048: C++ DR2387: a variable template declared wthiIlya Biryukov2019-04-241-1/+1
| | | | | | | | | | | | | The change breaks libc++ with the follwing error: In file included from valarray:4: .../include/c++/v1/valarray:1062:60: error: explicit instantiation declaration of 'valarray<_Tp>' with internal linkage _LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::valarray(size_t)) ^ .../include/c++/v1/valarray:1063:60: error: explicit instantiation declaration of '~valarray<_Tp>' with internal linkage _LIBCPP_EXTERN_TEMPLATE(_LIBCPP_FUNC_VIS valarray<size_t>::~valarray()) llvm-svn: 359076
* Add missing diagnostic for anonymous struct/union definitions that don'tRichard Smith2019-04-241-3/+3
| | | | | | introduce any names. llvm-svn: 359051
* C++ DR2387: a variable template declared wtih (or instantiated with) aRichard Smith2019-04-231-1/+1
| | | | | | | const-qualified type is not implicitly given internal linkage. But a variable template declared 'static' is. llvm-svn: 359048
* [c++2a] Implement semantic restrictions for 'export' declarations.Richard Smith2019-04-221-0/+54
llvm-svn: 358932
OpenPOWER on IntegriCloud