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

rieske / trans / 29858613021

21 Jul 2026 06:45PM UTC coverage: 90.602% (-0.1%) from 90.735%
29858613021

Pull #52

github

rieske
Fuzz test and fix issues
Pull Request #52: Fuzz test and fix issues

54 of 72 new or added lines in 7 files covered. (75.0%)

100 existing lines in 4 files now uncovered.

5312 of 5863 relevant lines covered (90.6%)

365676.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.57
/src/ast/ParenthesizedDeclarator.cpp
1
#include "ParenthesizedDeclarator.h"
2

3
#include "AbstractSyntaxTreeVisitor.h"
4

5
namespace ast {
6

7
ParenthesizedDeclarator::ParenthesizedDeclarator(std::unique_ptr<Declarator> declarator) :
8✔
8
        DirectDeclarator(declarator->getName(), declarator->getContext()),
16✔
9
        declarator { std::move(declarator) }
24✔
10
{
11
}
8✔
12

13
void ParenthesizedDeclarator::accept(AbstractSyntaxTreeVisitor& visitor) {
24✔
14
    // Transparent: visitors see the wrapped declarator tree (pointer + direct).
15
    declarator->accept(visitor);
24✔
16
}
24✔
17

18
type::Type ParenthesizedDeclarator::getFundamentalType(std::vector<Pointer> indirection, const type::Type& baseType) {
8✔
19
    type::Type type = declarator->getFundamentalType(baseType);
8✔
20
    for (Pointer pointer : indirection) {
8✔
NEW
21
        type = type::pointer(type, pointer.getQualifiers());
×
NEW
22
    }
×
23
    return type;
8✔
NEW
24
}
×
25

26
} // namespace ast
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