Skip to content

Commit 2b5e4ee

Browse files
authored
[clang][analyzer] Remove 'alpha.core.CallAndMessageUnInitRefArg' from documentation (NFC). (llvm#81138)
This checker does not exist (any more?) but appeared in the documentation. No other references to CallAndMessageUnInitRefArg are found in the full clang code.
1 parent 6a47161 commit 2b5e4ee

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

clang/docs/analyzer/checkers.rst

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,28 +1890,6 @@ the locking/unlocking of ``mtx_t`` mutexes.
18901890
mtx_lock(&mtx1); // warn: This lock has already been acquired
18911891
}
18921892
1893-
.. _alpha-core-CallAndMessageUnInitRefArg:
1894-
1895-
alpha.core.CallAndMessageUnInitRefArg (C,C++, ObjC)
1896-
"""""""""""""""""""""""""""""""""""""""""""""""""""
1897-
Check for logical errors for function calls and Objective-C
1898-
message expressions (e.g., uninitialized arguments, null function pointers, and pointer to undefined variables).
1899-
1900-
.. code-block:: c
1901-
1902-
void test(void) {
1903-
int t;
1904-
int &p = t;
1905-
int &s = p;
1906-
int &q = s;
1907-
foo(q); // warn
1908-
}
1909-
1910-
void test(void) {
1911-
int x;
1912-
foo(&x); // warn
1913-
}
1914-
19151893
.. _alpha-core-CastSize:
19161894
19171895
alpha.core.CastSize (C)

clang/www/analyzer/alpha_checks.html

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,6 @@ <h3 id="core_alpha_checkers">Core Alpha Checkers</h3>
8787
</pre></div></div></td></tr>
8888

8989

90-
<tr><td><a id="alpha.core.CallAndMessageUnInitRefArg"><div class="namedescr expandable"><span class="name">
91-
alpha.core.CallAndMessageUnInitRefArg</span><span class="lang">
92-
(C, C++)</span><div class="descr">
93-
Check for uninitialized arguments in function calls and Objective-C
94-
message expressions.</div></div></a></td>
95-
<td><div class="exampleContainer expandable">
96-
<div class="example"><pre>
97-
void test(void) {
98-
int t;
99-
int &p = t;
100-
int &s = p;
101-
int &q = s;
102-
foo(q); // warn
103-
}
104-
</pre></div><div class="separator"></div>
105-
<div class="example"><pre>
106-
void test(void) {
107-
int x;
108-
foo(&x); // warn
109-
}
110-
</pre></div></div></td></tr>
111-
112-
11390
<tr><td><a id="alpha.core.CastSize"><div class="namedescr expandable"><span class="name">
11491
alpha.core.CastSize</span><span class="lang">
11592
(C)</span><div class="descr">

0 commit comments

Comments
 (0)