Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin committed Jun 17, 2023
1 parent 8f3d907 commit 12a8abe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ast/transform/SemanticChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ void SemanticCheckerImpl::checkClause(const Clause& clause) {
}

void SemanticCheckerImpl::checkComplexRule(const std::set<const Clause*>& multiRule) {

// variable v occurs only once if:
// - it occurs at most once in each clause body of the (possibly) multi-clause rule.
// - and it never occurs in any clause head of the (possibly) multi-clause rule.
Expand Down Expand Up @@ -626,7 +625,6 @@ void SemanticCheckerImpl::checkComplexRule(const std::set<const Clause*>& multiR
}
report.addWarning(WarnType::VarAppearsOnce, "Variable " + name + " only occurs once", vf.leastLoc);
}

}

void SemanticCheckerImpl::checkType(ast::Attribute const& attr, std::string const& name) {
Expand Down

0 comments on commit 12a8abe

Please sign in to comment.