cpp-linter as pkg #249
Annotations
7 warnings and 2 notices
src/demo.cpp:3:10 [modernize-deprecated-headers]:
src/demo.cpp#L3
inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead -- see [modernize-deprecated-headers](https://clang.llvm.org/extra/clang-tidy/checks/modernize/deprecated-headers.html)
|
src/demo.cpp:8:5 [modernize-use-trailing-return-type]:
src/demo.cpp#L8
use a trailing return type for this function -- see [modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)
|
src/demo.cpp:10:13 [readability-braces-around-statements]:
src/demo.cpp#L10
statement should be inside braces -- see [readability-braces-around-statements](https://clang.llvm.org/extra/clang-tidy/checks/readability/braces-around-statements.html)
|
src/demo.cpp:13:5 [cppcoreguidelines-pro-type-vararg]:
src/demo.cpp#L13
do not call c-style vararg functions -- see [cppcoreguidelines-pro-type-vararg](https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/pro-type-vararg.html)
|
src/demo.hpp:6:11 [modernize-use-default-member-init]:
src/demo.hpp#L6
use default member initializer for 'useless' -- see [modernize-use-default-member-init](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)
|
src/demo.hpp:7:9 [modernize-use-default-member-init]:
src/demo.hpp#L7
use default member initializer for 'numb' -- see [modernize-use-default-member-init](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html)
|
src/demo.hpp:11:11 [modernize-use-trailing-return-type]:
src/demo.hpp#L11
use a trailing return type for this function -- see [modernize-use-trailing-return-type](https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html)
|
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)
|