Test rust 2 #322
Annotations
6 warnings and 2 notices
src/demo.cpp:2:1 [misc-include-cleaner]:
src/demo.cpp#L2
included header demo.hpp is not used directly
|
src/demo.cpp:3:10 [modernize-deprecated-headers]:
src/demo.cpp#L3
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead
|
src/demo.cpp:8:5 [modernize-use-trailing-return-type]:
src/demo.cpp#L8
use a trailing return type for this function
|
src/demo.cpp:10:13 [readability-braces-around-statements]:
src/demo.cpp#L10
statement should be inside braces
|
src/demo.cpp:13:5 [cppcoreguidelines-pro-type-vararg]:
src/demo.cpp#L13
do not call c-style vararg functions
|
src/demo.hpp:11:11 [modernize-use-trailing-return-type]:
src/demo.hpp#L11
use a trailing return type for this function
|
Run clang-format on src/demo.cpp:
src/demo.cpp#L1
File src/demo.cpp does not conform to Custom style guidelines. (lines 3,8,10,13,18)
|
Run clang-format on src/demo.hpp:
src/demo.hpp#L1
File src/demo.hpp does not conform to Custom style guidelines. (lines 1,8,11,12,31,34)
|