Skip to content

Commit

Permalink
Ignore cppcheck unused fn
Browse files Browse the repository at this point in the history
  • Loading branch information
stuxnot committed Oct 11, 2023
1 parent fc4741e commit 175944f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/nyxstone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,18 @@ NyxstoneBuilder& NyxstoneBuilder::with_triple(std::string&& triple) noexcept {
return *this;
}

NyxstoneBuilder& NyxstoneBuilder::with_cpu(std::string&& cpu) noexcept {
NyxstoneBuilder& NyxstoneBuilder::with_cpu(std::string&& cpu) noexcept { // cppcheck-suppress unusedFunction
m_cpu = std::move(cpu);
return *this;
}

NyxstoneBuilder& NyxstoneBuilder::with_features(std::string&& features) noexcept {
NyxstoneBuilder& NyxstoneBuilder::with_features(std::string&& features) noexcept { // cppcheck-suppress unusedFunction
m_features = std::move(features);
return *this;
}

NyxstoneBuilder& NyxstoneBuilder::with_immediate_style(NyxstoneBuilder::IntegerBase style) noexcept {
NyxstoneBuilder&
NyxstoneBuilder::with_immediate_style(NyxstoneBuilder::IntegerBase style) noexcept { // cppcheck-suppress unusedFunction
m_imm_style = style;
return *this;
}
Expand Down

0 comments on commit 175944f

Please sign in to comment.