diff options
-rw-r--r-- | clang/docs/InternalsManual.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/docs/InternalsManual.rst b/clang/docs/InternalsManual.rst index 511e2c61e97..502cae44b33 100644 --- a/clang/docs/InternalsManual.rst +++ b/clang/docs/InternalsManual.rst @@ -795,9 +795,9 @@ preprocessor and notifies a client of the parsing progress. Historically, the parser used to talk to an abstract ``Action`` interface that had virtual methods for parse events, for example ``ActOnBinOp()``. When Clang grew C++ support, the parser stopped supporting general ``Action`` clients -- -it now always talks to the :ref:`Sema` library. However, the Parser still -accesses AST objects only through opaque types like ``ExprResult`` and -``StmtResult``. Only ::ref::`Sema` looks at the AST node contents of these +it now always talks to the :ref:`Sema libray <Sema>`. However, the Parser +still accesses AST objects only through opaque types like ``ExprResult`` and +``StmtResult``. Only :ref:`Sema <Sema>` looks at the AST node contents of these wrappers. .. _AST: @@ -1602,8 +1602,8 @@ interacts with constant evaluation: The Sema Library ================ -This library is called by the :ref:`Parser` library during parsing to do -semantic analysis of the input. For valid programs, Sema builds an AST for +This library is called by the :ref:`Parser library <Parser>` during parsing to +do semantic analysis of the input. For valid programs, Sema builds an AST for parsed constructs. .. _CodeGen: @@ -1611,7 +1611,7 @@ parsed constructs. The CodeGen Library =================== -CodeGen takes an :ref:`AST` as input and produces `LLVM IR code +CodeGen takes an :ref:`AST <AST>` as input and produces `LLVM IR code <//llvm.org/docs/LangRef.html>`_ from it. How to change Clang |