[llvm-branch-commits] [clang] [analyzer] Fix -analyzer-output=html assert on reversed and macro ranges (PR #214463)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 6 05:34:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 90682 tests passed
* 1761 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Analysis/html_diagnostics/highlight-range-mapping.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
/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/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores -analyzer-output=html -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp -std=c++17 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/html_diagnostics/highlight-range-mapping.cpp
# 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/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores -analyzer-output=html -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp -std=c++17 -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/html_diagnostics/highlight-range-mapping.cpp
# 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/html_diagnostics/highlight-range-mapping.cpp --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp/report-*.html
# 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/html_diagnostics/highlight-range-mapping.cpp '--input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp/report-*.html'
# .---command stderr------------
# | Could not open input file '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/html_diagnostics/Output/highlight-range-mapping.cpp.tmp/report-*.html': No such file or directory
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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/214463
More information about the llvm-branch-commits
mailing list