Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
4d162859
Commit
4d162859
authored
May 03, 2018
by
Paul
Browse files
Fix tidy warnings
parent
a2f3bd24
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
CMakeLists.txt
CMakeLists.txt
+1
-0
include/rtg/program.hpp
include/rtg/program.hpp
+2
-2
src/program.cpp
src/program.cpp
+2
-2
test/test.hpp
test/test.hpp
+1
-1
No files found.
CMakeLists.txt
View file @
4d162859
...
@@ -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
...
...
include/rtg/program.hpp
View file @
4d162859
...
@@ -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
)
...
...
src/program.cpp
View file @
4d162859
...
@@ -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
)
{
{
...
...
test/test.hpp
View file @
4d162859
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment