c++: Modules Is Landing
authorNathan Sidwell <nathan@acm.org>
Mon, 14 Dec 2020 19:40:44 +0000 (11:40 -0800)
committerNathan Sidwell <nathan@acm.org>
Tue, 15 Dec 2020 15:43:23 +0000 (07:43 -0800)
commit4efde6781bba8d64b9dcff07e7efe71d35aa6f6a
treeb5d1ce72629fac6faca3dd3b40c03cb2007549c6
parentb7dfc2074c78415d451eb34d1608016c80b1c41a
c++: Modules Is Landing

This is the C++ modules implementation.  Dropping in the real
module.cc file into the module-shaped hole I carved out.  I include
some sanity tests for now.  I'll commit the remaining tests when the
initial round of failures seems abated.

gcc/cp/
* module.cc: Replace stubs with implementation.
gcc/testsuite/
* g++.dg/modules/mod-decl-0-2a.C: New.
* g++.dg/modules/mod-decl-0.C: New.
* g++.dg/modules/mod-decl-1.C: New.
* g++.dg/modules/mod-decl-2_a.C: New.
* g++.dg/modules/mod-decl-2_b.C: New.
* g++.dg/modules/mod-decl-2_c.C: New.
* g++.dg/modules/mod-decl-3.C: New.
* g++.dg/modules/mod-decl-5_a.C: New.
* g++.dg/modules/mod-decl-5_b.C: New.
gcc/cp/module.cc
gcc/testsuite/g++.dg/modules/mod-decl-0-2a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-2_a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-2_b.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-2_c.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-5_a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/modules/mod-decl-5_b.C [new file with mode: 0644]