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

rieske / trans / 29861186803

21 Jul 2026 07:21PM UTC coverage: 91.142% (+0.4%) from 90.735%
29861186803

Pull #52

github

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

86 of 110 new or added lines in 9 files covered. (78.18%)

5371 of 5893 relevant lines covered (91.14%)

368979.09 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) :
10✔
8
        DirectDeclarator(declarator->getName(), declarator->getContext()),
20✔
9
        declarator { std::move(declarator) }
30✔
10
{
11
}
10✔
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) {
10✔
19
    type::Type type = declarator->getFundamentalType(baseType);
10✔
20
    for (Pointer pointer : indirection) {
10✔
NEW
21
        type = type::pointer(type, pointer.getQualifiers());
×
NEW
22
    }
×
23
    return type;
10✔
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