]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: modules documentation tweak
authorJason Merrill <jason@redhat.com>
Tue, 18 Nov 2025 17:00:06 +0000 (22:30 +0530)
committerJason Merrill <jason@redhat.com>
Tue, 25 Nov 2025 10:22:48 +0000 (15:52 +0530)
The comment about P1815 not being implemented is obsolete since
Nathaniel's work starting with r15-6378.

gcc/ChangeLog:

* doc/invoke.texi (C++ Modules): Remove TU-local caveat.

gcc/doc/invoke.texi

index b1e6d7037023bb3eb79b29ea75beffa25fa1b2c6..284b9f4e802f997ea593b73fc7b0d12c275bbf82 100644 (file)
@@ -38640,12 +38640,6 @@ reverse is not implemented---textually redefining an entity that has
 been defined in an imported header-unit.  A redefinition error is
 emitted.
 
-@item Translation-Unit local referencing rules
-Papers p1815 (@uref{https://wg21.link/p1815}) and p2003
-(@uref{https://wg21.link/p2003}) add limitations on which entities an
-exported region may reference (for instance, the entities an exported
-template definition may reference).  These are not fully implemented.
-
 @item Standard Library Header Units
 The Standard Library is not provided as importable header units.  If
 you want to import such units, you must explicitly build them first.
@@ -38657,7 +38651,7 @@ affected by how you partition header files into header units.
 
 Modular compilation is @emph{not} enabled with just the
 @option{-std=c++20} option.  You must explicitly enable it with the
-@option{-fmodules-ts} option.  It is independent of the language
+@option{-fmodules} option.  It is independent of the language
 version selected, although in pre-C++20 versions, it is of course an
 extension.