[clang] [NFC][analyzer] Spread use of 'Expr*' instead of 'Stmt*' (PR #188319)

via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 2 04:52:59 PDT 2026


=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>,
=?utf-8?q?Donát?= Nagy <donat.nagy at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/188319 at github.com>


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 87228 tests passed
* 1361 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.Analysis/Scalable/call-graph.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp    --ssaf-extract-summaries=CallGraph    --ssaf-tu-summary-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -fsyntax-only /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --ssaf-extract-summaries=CallGraph --ssaf-tu-summary-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --match-full-lines --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp --match-full-lines --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp:13:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: "pretty_name": "caller()",
# |               ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:7:21: note: scanning from here
# |  "entity_summary": {
# |                     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:14:2: note: possible intended match here
# |  "pretty_name": "polymorphic(Base &)",
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp:23:15: error: CHECK-DAG: expected string not found in input
# | // CHECK-DAG: "pretty_name": "polymorphic(Base &)",
# |               ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:24:21: note: scanning from here
# |  "entity_summary": {
# |                     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json:35:2: note: possible intended match here
# |  "pretty_name": "caller()",
# |  ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Scalable/Output/call-graph.cpp.tmp.summary.json
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: { 
# |           2:  "data": [ 
# |           3:  { 
# |           4:  "summary_data": [ 
# |           5:  { 
# |           6:  "entity_id": 1, 
# |           7:  "entity_summary": { 
# | dag:13'0                         X error: no match found
# |           8:  "def": { 
# | dag:13'0     ~~~~~~~~~~
# |           9:  "col": 6, 
# | dag:13'0     ~~~~~~~~~~~
# |          10:  "file": "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp", 
# | dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          11:  "line": 38 
# | dag:13'0     ~~~~~~~~~~~~
# |          12:  }, 
# | dag:13'0     ~~~~
# |          13:  "direct_callees": [], 
# | dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |          14:  "pretty_name": "polymorphic(Base &)", 
# | dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:13'1      ?                                      possible intended match
# |          15:  "virtual_callees": [ 
# | dag:13'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          16:  { 
# | dag:13'0     ~~~
# |          17:  "@": 0 
# | dag:13'0     ~~~~~~~~
# |          18:  } 
# | dag:13'0     ~~~
# |          19:  ] 
# | dag:13'0     ~~~
# |          20:  } 
# | dag:13'0     ~~~
# |          21:  }, 
# | dag:13'0     ~~~~
# |          22:  { 
# | dag:13'0     ~~~
# |          23:  "entity_id": 3, 
# | dag:13'0     ~~~~~~~~~~~~~~~~~
# |          24:  "entity_summary": { 
# | dag:13'0     ~~~~~~~~~~~~~~~~~~~~
# | dag:23'0                         X error: no match found
# |          25:  "def": { 
# | dag:23'0     ~~~~~~~~~~
# |          26:  "col": 6, 
# | dag:23'0     ~~~~~~~~~~~
# |          27:  "file": "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/Scalable/call-graph.cpp", 
# | dag:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          28:  "line": 34 
# | dag:23'0     ~~~~~~~~~~~~
# |          29:  }, 
# | dag:23'0     ~~~~
# |          30:  "direct_callees": [ 
# | dag:23'0     ~~~~~~~~~~~~~~~~~~~~~
# |          31:  { 
# | dag:23'0     ~~~
# |          32:  "@": 2 
# | dag:23'0     ~~~~~~~~
# |          33:  } 
# | dag:23'0     ~~~
# |          34:  ], 
# | dag:23'0     ~~~~
# |          35:  "pretty_name": "caller()", 
# | dag:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:23'1      ?                           possible intended match
# |          36:  "virtual_callees": [] 
# | dag:23'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |          37:  } 
# | dag:23'0     ~~~
# |          38:  } 
# | dag:23'0     ~~~
# |          39:  ], 
# | dag:23'0     ~~~~
# |          40:  "summary_name": "CallGraph" 
# | dag:23'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/188319


More information about the cfe-commits mailing list