Internals: Parse fork and delays, but then still report unsupported.

This commit is contained in:
Wilson Snyder
2020-04-22 21:31:40 -04:00
parent c96a43b452
commit 7176aee852
17 changed files with 296 additions and 98 deletions
+2 -2
View File
@@ -209,7 +209,7 @@ public:
}
}
void applyBlock(AstBegin* nodep) {
void applyBlock(AstNodeBlock* nodep) {
AstPragmaType pragma = AstPragmaType::COVERAGE_BLOCK_OFF;
if (!nodep->unnamed()) {
for (StringSet::const_iterator it = m_coverageOffBlocks.begin();
@@ -311,7 +311,7 @@ public:
m_waivers.push_back(make_pair(code, match));
}
void applyBlock(AstBegin* nodep) {
void applyBlock(AstNodeBlock* nodep) {
// Apply to block at this line
AstPragmaType pragma = AstPragmaType::COVERAGE_BLOCK_OFF;
if (lineMatch(nodep->fileline()->lineno(), pragma)) {