Skip to content

Commit 184b4e5

Browse files
committed
footnote RST syntax fix
1 parent 1c7c534 commit 184b4e5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

clang/docs/StandardCPlusPlusModules.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ translation units.
464464
Source Files Consistency
465465
^^^^^^^^^^^^^^^^^^^^^^^^
466466

467-
Clang may open the input files\ :sup:`1`` of a BMI during the compilation. This implies that
467+
Clang may open the input files [1]_ of a BMI during the compilation. This implies that
468468
when Clang consumes a BMI, all the input files need to be present in the original path
469469
and with the original contents.
470470

@@ -476,21 +476,21 @@ When the ``-fmodules-embed-all-files`` flag are enabled, Clang explicitly emits
476476
code into the BMI file, the contents of the BMI file contain a sufficiently verbose
477477
representation to reproduce the original source file.
478478

479-
:sup:`1`` Input files: The source files which took part in the compilation of the BMI.
480-
For example:
479+
.. [1] Input files: The source files which took part in the compilation of the BMI.
480+
For example:
481481
482-
.. code-block:: c++
482+
.. code-block:: c++
483483
484-
// M.cppm
485-
module;
486-
#include "foo.h"
487-
export module M;
484+
// M.cppm
485+
module;
486+
#include "foo.h"
487+
export module M;
488488
489-
// foo.h
490-
#pragma once
491-
#include "bar.h"
489+
// foo.h
490+
#pragma once
491+
#include "bar.h"
492492
493-
The ``M.cppm``, ``foo.h`` and ``bar.h`` are input files for the BMI of ``M.cppm``.
493+
The ``M.cppm``, ``foo.h`` and ``bar.h`` are input files for the BMI of ``M.cppm``.
494494
495495
Object definition consistency
496496
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)