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

Fix comment typos in frontend.h #4498

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontends/p4/frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ namespace P4 {

class ConstantFoldingPolicy; // forward declare to avoid having to include

/// A customization point for frotend. The each tool can provide their own implementation of the
/// policy that customazes its behaviour, or use instance of this class directly to provide the
/// A customization point for frontend. The each tool can provide their own implementation of the
/// policy that customizes its behaviour, or use instance of this class directly to provide the
/// defaults.
class FrontEndPolicy {
public:
Expand All @@ -47,7 +47,7 @@ class FrontEndPolicy {
// TODO: This should probably not be allowed to be skipped at all.
virtual bool skipSideEffectOrdering() const { return false; }

/// Indicates whether the frontend shoud run some optimizations (inlining, action localization,
/// Indicates whether the frontend should run some optimizations (inlining, action localization,
/// etc.).
/// @returns default to enabled optimizations unless -O0 was given in the options (i.e. enabled
/// unless options.optimizationLevel == 0).
Expand Down
Loading