reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (160)
include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h|50| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|8| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|177| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|178| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|179| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|191| Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|192| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|217| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|226| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|238| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|93| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc|192| Add #include for unique_ptr<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|14| For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|15| For a static/global string constant, use a C style string instead: "static const char EMBED_MODE[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|16| For a static/global string constant, use a C style string instead: "static const char EP_CACHE_CONTEXT[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|17| For a static/global string constant, use a C style string instead: "static const char COMPUTE_CAPABILITY[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|18| For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP_DOMAIN[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|41| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h|50| Add #include for unique_ptr<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|14| Include the directory when naming header files [build/include_subdir] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|588| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|730| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|742| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|823| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|845| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|853| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|911| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|916| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1004| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1027| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1035| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1062| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1063| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1067| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1068| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1072| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1073| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1077| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1078| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1082| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1083| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1087| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1088| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1092| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1093| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1097| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1098| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1468| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1473| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1478| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|1482| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2238| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2239| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2431| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2432| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2433| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2497| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2543| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2582| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2615| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2628| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2667| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2677| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2682| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2688| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2689| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2690| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2733| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2742| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2774| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2780| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2796| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2826| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2829| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2857| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2860| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2861| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2882| An else should appear on the same line as the preceding } [whitespace/newline] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2882| If an else has a brace on one side, it should have it on both [readability/braces] [5]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2890| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2897| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2913| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2935| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|2995| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3012| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3016| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3018| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3032| Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3033| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3039| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3052| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3056| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3088| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3091| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3093| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3100| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3112| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3143| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3146| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3162| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3205| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3206| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3223| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3235| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3239| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3256| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3257| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3279| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3290| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3320| Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3334| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3352| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3355| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3369| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3372| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3374| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3381| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3400| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3458| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3489| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3503| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3505| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3511| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3536| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3591| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3624| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3637| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3676| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3686| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3691| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3697| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3698| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3699| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3716| Small and focused functions are preferred: TensorrtExecutionProvider::CreateNodeComputeFromGraph() has 771 non-comment lines (error triggered by exceeding 500 lines). [readability/fn_size] [1]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3741| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3719| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc|3732| Add #include for string [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|49| For a static/global string constant, use a C style string instead: "static const char kDumpEpContextModel[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|50| For a static/global string constant, use a C style string instead: "static const char kEpContextEmbedMode[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|51| For a static/global string constant, use a C style string instead: "static const char kEpContextComputeCapabilityEnable[]". [runtime/string] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|114| Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|122| Add #include for max [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|547| Add #include for string [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|547| Add #include <unordered_map> for unordered_map<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.h|548| Add #include for vector<> [build/include_what_you_use] [4]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|105| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|149| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|200| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|201| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|202| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider_info.cc|296| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/session/custom_ops.cc|314| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/session/custom_ops.cc|317| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/session/ort_apis.h|187| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/session/provider_bridge_ort.cc|451| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/core/session/provider_bridge_ort.cc|475| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/python/onnxruntime_pybind_state.cc|726| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/python/onnxruntime_pybind_state.cc|732| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/python/onnxruntime_pybind_state.cc|740| Lines should be <= 120 characters long [whitespace/line_length] [2]
onnxruntime/test/providers/cpu/nn/dropout_op_test.cc|33| Lines should be <= 120 characters long [whitespace/line_length] [2]
Filtered Findings (817241)
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|50| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|54| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|149| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|154| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|311| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|333| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|399| Lines should be <= 120 characters long [whitespace/line_length] [2]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|749| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|754| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|760| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|767| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|768| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|769| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|778| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|783| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdC/CMakeCCompilerId.c|789| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|| No copyright message found. You should have a line: "Copyright [year] " [legal/copyright] [5]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|50| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|54| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|149| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|154| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|305| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|327| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|397| Lines should be <= 120 characters long [whitespace/line_length] [2]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|734| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|739| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|745| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|752| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|753| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|754| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|763| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|768| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|774| Missing space after , [whitespace/comma] [3]
build/Debug/CMakeFiles/3.27.8/CompilerIdCXX/CMakeCXXCompilerId.cpp|831| { should almost always be at the end of the previous line [whitespace/braces] [4]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|22| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_ALGORITHM_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|159| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_ALGORITHM_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/algorithm.h|107| Add #include for forward [build/include_what_you_use] [4]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/container.h|40| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_CONTAINER_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/container.h|1774| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_ALGORITHM_CONTAINER_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/algorithm/equal_benchmark.cc|34| Using C-style cast. Use static_cast(...) instead [readability/casting] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/attributes.h|34| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_ATTRIBUTES_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/attributes.h|835| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_ATTRIBUTES_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once.h|25| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CALL_ONCE_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once.h|219| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CALL_ONCE_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once_test.cc|17| is an unapproved C++11 header. [build/c++11] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/call_once_test.cc|64| Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
build/Debug/_deps/abseil_cpp-src/absl/base/casts.h|24| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CASTS_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/casts.h|180| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CASTS_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|48| #ifndef header guard has wrong style, please use: BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONFIG_H_ [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|937| #endif line should be "#endif // BUILD_DEBUG__DEPS_ABSEIL_CPP_SRC_ABSL_BASE_CONFIG_H_" [build/header_guard] [5]
build/Debug/_deps/abseil_cpp-src/absl/base/config.h|933| Weird number of spaces at line-start. Are you using a 2-space indent? [whitespace/indent] [3]
... (Too many findings. Dropped some findings)
Annotations
Check warning on line 50 in include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h
github-actions / cpplint
[cpplint] include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h#L50
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
include/onnxruntime/core/providers/tensorrt/tensorrt_provider_options.h:50: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 8 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L8
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:8: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 177 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L177
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:177: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 178 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L178
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:178: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 179 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L179
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:179: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 191 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L191
Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:191: Using C-style cast. Use reinterpret_cast<char*>(...) instead [readability/casting] [4]
Check warning on line 192 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L192
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:192: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 217 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L217
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:217: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 226 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L226
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:226: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 238 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L238
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:238: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 93 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L93
Add #include <vector> for vector<> [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:93: Add #include <vector> for vector<> [build/include_what_you_use] [4]
Check warning on line 192 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc#L192
Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.cc:192: Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Check warning on line 14 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L14
For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP[]". [runtime/string] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:14: For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP[]". [runtime/string] [4]
Check warning on line 15 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L15
For a static/global string constant, use a C style string instead: "static const char EMBED_MODE[]". [runtime/string] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:15: For a static/global string constant, use a C style string instead: "static const char EMBED_MODE[]". [runtime/string] [4]
Check warning on line 16 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L16
For a static/global string constant, use a C style string instead: "static const char EP_CACHE_CONTEXT[]". [runtime/string] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:16: For a static/global string constant, use a C style string instead: "static const char EP_CACHE_CONTEXT[]". [runtime/string] [4]
Check warning on line 17 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L17
For a static/global string constant, use a C style string instead: "static const char COMPUTE_CAPABILITY[]". [runtime/string] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:17: For a static/global string constant, use a C style string instead: "static const char COMPUTE_CAPABILITY[]". [runtime/string] [4]
Check warning on line 18 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L18
For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP_DOMAIN[]". [runtime/string] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:18: For a static/global string constant, use a C style string instead: "static const char EPCONTEXT_OP_DOMAIN[]". [runtime/string] [4]
Check warning on line 41 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L41
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:41: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 50 in onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h#L50
Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Raw output
onnxruntime/core/providers/tensorrt/onnx_ctx_model_helper.h:50: Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Check warning on line 14 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L14
Include the directory when naming header files [build/include_subdir] [4]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:14: Include the directory when naming header files [build/include_subdir] [4]
Check warning on line 588 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L588
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:588: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 730 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L730
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:730: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 742 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L742
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:742: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 823 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L823
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:823: Lines should be <= 120 characters long [whitespace/line_length] [2]
Check warning on line 845 in onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc
github-actions / cpplint
[cpplint] onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc#L845
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc:845: Lines should be <= 120 characters long [whitespace/line_length] [2]