Skip to content

Commit 1c7c534

Browse files
committed
minor typos
1 parent 095e002 commit 1c7c534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/docs/StandardCPlusPlusModules.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ For example, the traditional compilation processes for headers are like:
379379
hdr2.h --, |
380380
src2.cpp -+> clang++ src2.cpp --> src2.o ---'
381381
382-
And the compilation process for module units are like:
382+
And the compilation processes for module units are like:
383383

384384
.. code-block:: text
385385
@@ -434,7 +434,7 @@ non-module-unit uses need to be consistent. Consider the following example:
434434
$ clang++ -std=c++23 Use.cpp -fprebuilt-module-path=.
435435
436436
Clang rejects the example due to the inconsistent language standard modes. Not
437-
all compiler options are language dialect options, though. For example:
437+
all compiler options are language-dialect options, though. For example:
438438

439439
.. code-block:: console
440440
@@ -1571,7 +1571,7 @@ With the existing implementation, ``-fprebuilt-module-path`` cannot be used for
15711571
header units (because they are nominally anonymous). For header units, use
15721572
``-fmodule-file`` to include the relevant PCM file for each header unit.
15731573

1574-
This is expect to be solved in a future version of Clang either by the compiler
1574+
This is expected to be solved in a future version of Clang either by the compiler
15751575
finding and specifying ``-fmodule-file`` automatically, or by the use of a
15761576
module-mapper that understands how to map the header name to their PCMs.
15771577

0 commit comments

Comments
 (0)