@@ -139,7 +139,7 @@ wording a diagnostic.
139
139
you mean %1? ``.
140
140
141
141
* Appropriately capitalize proper nouns like ``Clang ``, ``OpenCL ``, ``GCC ``,
142
- ``Objective-C ``, etc and language standard versions like ``C11 `` or ``C++11 ``.
142
+ ``Objective-C ``, etc. and language standard versions like ``C11 `` or ``C++11 ``.
143
143
* The wording should be succinct. If necessary, use a semicolon to combine
144
144
sentence fragments instead of using complete sentences. e.g., prefer wording
145
145
like ``'%0' is deprecated; it will be removed in a future release of Clang ``
@@ -886,7 +886,7 @@ a string that the tablegen backend uses as a prefix to the
886
886
LANG_OPTION_WITH_MARSHALLING([...], LangOpts->IgnoreExceptions, [...])
887
887
#endif // LANG_OPTION_WITH_MARSHALLING
888
888
889
- Such definition can be used used in the function for parsing and generating
889
+ Such definition can be used in the function for parsing and generating
890
890
command line:
891
891
892
892
.. code-block :: c++
@@ -1745,7 +1745,7 @@ will be found by the lookup, since it effectively replaces the first
1745
1745
declaration of "``f ``".
1746
1746
1747
1747
(Note that because ``f `` can be redeclared at block scope, or in a friend
1748
- declaration, etc. it is possible that the declaration of ``f `` found by name
1748
+ declaration, etc., it is possible that the declaration of ``f `` found by name
1749
1749
lookup will not be the most recent one.)
1750
1750
1751
1751
In the semantics-centric view, overloading of functions is represented
@@ -1945,7 +1945,7 @@ range of iterators over declarations of "``f``".
1945
1945
function ``DeclContext::getPrimaryContext `` retrieves the "primary" context for
1946
1946
a given ``DeclContext `` instance, which is the ``DeclContext `` responsible for
1947
1947
maintaining the lookup table used for the semantics-centric view. Given a
1948
- DeclContext, one can obtain the set of declaration contexts that are
1948
+ `` DeclContext `` , one can obtain the set of declaration contexts that are
1949
1949
semantically connected to this declaration context, in source order, including
1950
1950
this context (which will be the only result, for non-namespace contexts) via
1951
1951
``DeclContext::collectAllContexts ``. Note that these functions are used
@@ -1985,7 +1985,7 @@ broken code in the AST:
1985
1985
errors, the Decl node is marked as invalid.
1986
1986
- dropping invalid node: this often happens for errors that we don’t have
1987
1987
graceful recovery. Prior to Recovery AST, a mismatched-argument function call
1988
- expression was dropped though a CallExpr was created for semantic analysis.
1988
+ expression was dropped though a `` CallExpr `` was created for semantic analysis.
1989
1989
1990
1990
With these strategies, clang surfaces better diagnostics, and provides AST
1991
1991
consumers a rich AST reflecting the written source code as much as possible even
0 commit comments