Skip to content

Run lintrunner pass #452

Run lintrunner pass

Run lintrunner pass #452

GitHub Actions / cpplint completed Dec 24, 2024 in 0s

reviewdog [cpplint] report

reported by reviewdog 🐶

Findings (15)

onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|129| Use operator && instead of and [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|153| Use operator || instead of or [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1157| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1158| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1159| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1160| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1161| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1162| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1163| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1165| Use operator ^ instead of xor [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1201| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1202| Do not indent within a namespace. [whitespace/indent_namespace] [4]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1363| Use operator ^ instead of xor [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1363| Use operator && instead of and [readability/alt_tokens] [2]
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc|1173| Add #include for move [build/include_what_you_use] [4]

Filtered Findings (0)

Annotations

Check warning on line 129 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L129

 Use operator && instead of and  [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:129:  Use operator && instead of and  [readability/alt_tokens] [2]

Check warning on line 153 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L153

 Use operator || instead of or  [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:153:  Use operator || instead of or  [readability/alt_tokens] [2]

Check warning on line 1157 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1157

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1157:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1158 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1158

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1158:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1159 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1159

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1159:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1160 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1160

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1160:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1161 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1161

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1161:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1162 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1162

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1162:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1163 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1163

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1163:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1165 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1165

 Use operator ^ instead of xor  [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1165:  Use operator ^ instead of xor  [readability/alt_tokens] [2]

Check warning on line 1201 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1201

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1201:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1202 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1202

 Do not indent within a namespace.  [whitespace/indent_namespace] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1202:  Do not indent within a namespace.  [whitespace/indent_namespace] [4]

Check warning on line 1363 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1363

 Use operator ^ instead of xor  [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1363:  Use operator ^ instead of xor  [readability/alt_tokens] [2]

Check warning on line 1363 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1363

 Use operator && instead of and  [readability/alt_tokens] [2]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1363:  Use operator && instead of and  [readability/alt_tokens] [2]

Check warning on line 1173 in onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc#L1173

 Add #include <utility> for move  [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/migraphx/migraphx_execution_provider.cc:1173:  Add #include <utility> for move  [build/include_what_you_use] [4]