reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (18)
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|126| Use operator && instead of and [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|130| Use operator ^ instead of xor [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|135| Use operator || instead of or [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|183| Use operator && instead of and [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|211| Use operator || instead of or [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1257| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1258| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1259| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1260| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1261| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1262| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1263| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1265| Use operator ^ instead of xor [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1303| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1304| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1465| Use operator ^ instead of xor [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1465| Use operator && instead of and [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1273| Add #include for move [build/include_what_you_use] [4]
Filtered Findings (0)
Annotations
Check warning on line 126 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L126
Use operator && instead of and [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:126: Use operator && instead of and [readability/alt_tokens] [2]
Check warning on line 130 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L130
Use operator ^ instead of xor [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:130: Use operator ^ instead of xor [readability/alt_tokens] [2]
Check warning on line 135 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L135
Use operator || instead of or [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:135: Use operator || instead of or [readability/alt_tokens] [2]
Check warning on line 183 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L183
Use operator && instead of and [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:183: Use operator && instead of and [readability/alt_tokens] [2]
Check warning on line 211 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L211
Use operator || instead of or [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:211: Use operator || instead of or [readability/alt_tokens] [2]
Check warning on line 1257 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1257
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1257: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1258 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1258
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1258: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1259 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1259
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1259: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1260 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1260
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1260: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1261 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1261
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1261: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1262 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1262
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1262: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1263 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1263
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1263: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1265 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1265
Use operator ^ instead of xor [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1265: Use operator ^ instead of xor [readability/alt_tokens] [2]
Check warning on line 1303 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1303
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1303: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1304 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1304
Do not indent within a namespace. [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1304: Do not indent within a namespace. [whitespace/indent_namespace] [4]
Check warning on line 1465 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1465
Use operator ^ instead of xor [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1465: Use operator ^ instead of xor [readability/alt_tokens] [2]
Check warning on line 1465 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1465
Use operator && instead of and [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1465: Use operator && instead of and [readability/alt_tokens] [2]
Check warning on line 1273 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1273
Add #include <utility> for move [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1273: Add #include <utility> for move [build/include_what_you_use] [4]