Skip to content

Commit

Permalink
clang-format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Oct 19, 2024
1 parent 53ae7f9 commit 69faf7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backends/tofino/bf-p4c/test/gtest/clot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ struct SliceSpec {
std::optional<le_bitrange> slice;

SliceSpec(const char *fieldName) // NOLINT(runtime/explicit)
: fieldName(fieldName), // NOLINT(runtime/explicit)
: fieldName(fieldName), // NOLINT(runtime/explicit)
slice(std::nullopt) {}
SliceSpec(const cstring fieldName) // NOLINT(runtime/explicit)
: fieldName(fieldName), // NOLINT(runtime/explicit)
: fieldName(fieldName), // NOLINT(runtime/explicit)
slice(std::nullopt) {}

SliceSpec(const char *fieldName, le_bitrange slice) : fieldName(fieldName), slice(slice) {}
Expand Down

0 comments on commit 69faf7f

Please sign in to comment.