Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimír Štill <vladimir.still@altera.com>
  • Loading branch information
vlstill committed Jan 15, 2025
1 parent f3ed143 commit 2c9a2d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ namespace P4 {
inline unsigned errorCount() { return BaseCompileContext::get().errorReporter().getErrorCount(); }

/// @return the number of warnings encountered so far in the current compilation context.
inline unsigned warningCount() { return BaseCompileContext::get().errorReporter().getWarningCount(); }
inline unsigned warningCount() {
return BaseCompileContext::get().errorReporter().getWarningCount();
}

/// @return the number of infos encountered so far in the current compilation context.
inline unsigned infoCount() { return BaseCompileContext::get().errorReporter().getInfoCount(); }
Expand Down

0 comments on commit 2c9a2d9

Please sign in to comment.