summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/module
Commit message (Collapse)AuthorAgeFilesLines
* C++ DR2387: a variable template declared wtih (or instantiated with) aRichard Smith2019-04-262-4/+4
| | | | | | | | | 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-242-4/+4
| | | | | | | | | | | | | 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-232-4/+4
| | | | | | | 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-225-4/+244
| | | | llvm-svn: 358932
* [c++2a] Add semantic support for private module fragments.Richard Smith2019-04-181-0/+38
| | | | llvm-svn: 358713
* [c++20] Enable driver and frontend support for building and usingRichard Smith2019-04-141-0/+40
| | | | | | modules when -std=c++2a is specified. llvm-svn: 358355
* [c++20] Parsing support for module-declarations, import-declarations,Richard Smith2019-04-141-0/+4
and the global and private module fragment. For now, the private module fragment introducer is ignored, but use of the global module fragment introducer should be properly enforced. llvm-svn: 358353
OpenPOWER on IntegriCloud