Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More code improvements based on static analysis #4258

Merged
merged 11 commits into from
Nov 24, 2023
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
vlstill committed Nov 23, 2023
commit 252b157f12560f3bf150abff4fe46f51488b438a
3 changes: 2 additions & 1 deletion frontends/p4/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class FrontEnd {

public:
FrontEnd() = default;
explicit FrontEnd(const ParseAnnotations &parseAnnotations) : parseAnnotations(parseAnnotations) {}
explicit FrontEnd(const ParseAnnotations &parseAnnotations)
: parseAnnotations(parseAnnotations) {}
explicit FrontEnd(const DebugHook &hook) { hooks.push_back(hook); }
explicit FrontEnd(const ParseAnnotations &parseAnnotations, const DebugHook &hook)
: FrontEnd(parseAnnotations) {
Expand Down
Loading