[clang] [clang][analyzer]Add TaintPropagation:EnableDefaultConfig config parameter (PR #176185)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 08:03:40 PST 2026


github-actions[bot] wrote:

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

* 85441 tests passed
* 1210 tests skipped
* 1 test failed

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

### Clang
<details>
<summary>Clang.Analysis/analyzer-config.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/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 -analyze -setup-static-analyzer -analyzer-checker=debug.ConfigDumper > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp 2>&1
# 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 -analyze -setup-static-analyzer -analyzer-checker=debug.ConfigDumper
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/analyzer-config.c --match-full-lines
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/analyzer-config.c --match-full-lines
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/analyzer-config.c:117:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: osx.NumberObjectConversion:Pedantic = false
# |                ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp:115:1: note: 'next' match was here
# | osx.NumberObjectConversion:Pedantic = false
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp:113:41: note: previous match ended here
# | optin.taint.TaintPropagation:Config = ""
# |                                         ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp:114:1: note: non-matching line after previous match is here
# | optin.taint.TaintPropagation:EnableDefaultConfig = true
# | ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Analysis/Output/analyzer-config.c.tmp
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/analyzer-config.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         110: optin.cplusplus.VirtualCall:ShowFixIts = false 
# |         111: optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport = false 
# |         112: optin.performance.Padding:AllowedPad = 24 
# |         113: optin.taint.TaintPropagation:Config = "" 
# |         114: optin.taint.TaintPropagation:EnableDefaultConfig = true 
# |         115: osx.NumberObjectConversion:Pedantic = false 
# | next:117     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         116: osx.cocoa.RetainCount:TrackNSCFStartParam = false 
# |         117: prune-paths = true 
# |         118: region-store-max-binding-fanout = 128 
# |         119: region-store-small-array-limit = 5 
# |         120: region-store-small-struct-limit = 2 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# 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/176185


More information about the cfe-commits mailing list