• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rieske / trans / 34319715997
95%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2026 06:40AM UTC
Jobs 1
Files 272
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2026 06:34AM UTC coverage: 94.473% (+0.007%) from 94.466%
34319715997

push

github

web-flow
fix: arrays decay to pointers wherever their value is used (#312)

C converts an array to a pointer to its first element in every value
context, and the compiler did it only where an operand's type was checked
against another one. Where a value is merely tested or forwarded, the
array itself was used:

    char b[8];
    if (b) ...        // took the else branch: compared the contents
    sizeof((0, a))    // 12, not 8
    sizeof(({ a; }))  // 12, not 8

Both halves are needed. Semantic analysis decays the value, and code
generation has to materialize the address the decay names, which the
controlling-expression sites were reading raw. Without the second half
the type is right and the temp is never filled.

The comma operator and the statement expression also inherited the
lvalue-ness of an operand, so `(y, x) = 5` and `({ y; x; }) = 5`
compiled. Neither is an lvalue in C.

15862 of 16790 relevant lines covered (94.47%)

153475.8 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
94.08
0.24% home/runner/work/trans/trans/src/semantic_analyzer/SemanticAnalysisVisitor_Expressions.cpp
10
95.82
0.03% home/runner/work/trans/trans/src/codegen/CodeGeneratingVisitor.cpp
4
93.15
0.1% home/runner/work/trans/trans/src/semantic_analyzer/SemanticAnalysisVisitorInternal.h
2
82.35
-11.76% home/runner/work/trans/trans/src/ast/AssignmentExpression.cpp
1
95.83
6.36% home/runner/work/trans/trans/src/ast/StatementExpression.cpp
Jobs
ID Job ID Ran Files Coverage
1 34319715997.1 09 Sep 2026 06:40AM UTC 272
94.47
GitHub Action Run
Source Files on build 34319715997
  • Tree
  • List 272
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34319715997
  • 55eb0f4c on github
  • Prev Build on master (#34317088264)
  • Next Build on master (#34321226857)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc