Commit 4d162859 authored by Paul's avatar Paul
Browse files

Fix tidy warnings

parent a2f3bd24
...@@ -48,6 +48,7 @@ rocm_enable_clang_tidy( ...@@ -48,6 +48,7 @@ rocm_enable_clang_tidy(
-hicpp-special-member-functions -hicpp-special-member-functions
-llvm-header-guard -llvm-header-guard
-llvm-include-order -llvm-include-order
-misc-macro-parentheses
-modernize-pass-by-value -modernize-pass-by-value
-modernize-use-default-member-init -modernize-use-default-member-init
-modernize-use-transparent-functors -modernize-use-transparent-functors
......
...@@ -17,8 +17,8 @@ struct program ...@@ -17,8 +17,8 @@ struct program
{ {
program(); program();
program(program&&) noexcept; program(program&&) noexcept;
program& operator=(program&&); program& operator=(program&&) noexcept;
~program(); ~program() noexcept;
template <class... Ts> template <class... Ts>
instruction* add_instruction(operation op, Ts*... args) instruction* add_instruction(operation op, Ts*... args)
......
...@@ -15,8 +15,8 @@ struct program_impl ...@@ -15,8 +15,8 @@ struct program_impl
program::program() : impl(std::make_unique<program_impl>()) {} program::program() : impl(std::make_unique<program_impl>()) {}
program::program(program&&) noexcept = default; program::program(program&&) noexcept = default;
program& program::operator=(program&&) = default; program& program::operator=(program&&) noexcept = default;
program::~program() = default; program::~program() noexcept = default;
instruction* program::add_instruction(operation op, std::vector<instruction*> args) instruction* program::add_instruction(operation op, std::vector<instruction*> args)
{ {
......
...@@ -77,7 +77,7 @@ struct lhs_expression ...@@ -77,7 +77,7 @@ struct lhs_expression
auto operator op(const U& rhs) const \ auto operator op(const U& rhs) const \
{ \ { \
return make_expression(lhs, rhs, name{}); \ return make_expression(lhs, rhs, name{}); \
} // NOLINT }
TEST_FOREACH_OPERATOR(TEST_LHS_OPERATOR) TEST_FOREACH_OPERATOR(TEST_LHS_OPERATOR)
// NOLINTNEXTLINE // NOLINTNEXTLINE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment