Case Status
Log In

Wiki

Options

 
Whole Tomato Software - Home
  • RSS Feed

List of Code Inspections

Code Inspection LLVM/Clang Equivalent
and Documentation
Default
Level
Fixable Introduced
in Build
Check emptiness with empty() instead of size() readability-container-size-empty 3 2219
Constructor of shared_pointer can be replaced with make_shared modernize-make-shared 3 2210
Constructor of unique_pointer can be replaced with make_unique modernize-make-unique 3 2210
Escaped string literal can be written as raw string literal modernize-raw-string-literal 3 2217
For loop can be converted to range-based loop modernize-loop-convert 3 2210
Overriding function without 'override' specifier modernize-use-override 3 2210
push_back can be replaced with emplace_back modernize-use-emplace 3 2210
Redundant get() on smart pointer readability-redundant-smartptr-get 3 2219
Redundant 'return' or 'continue' statement readability-redundant-control-flow 3 2219
Redundant 'void' parameter list modernize-redundant-void-arg 5 2210
Reset unique_ptr with '= nullptr' instead of delete 'p.release()' readability-uniqueptr-delete-release 3 2219
Special member function body can be replaced with '= default' modernize-use-equals-default 3 2210
Typedef can be converted to 'using' declaration modernize-use-using 3 2210
Variable can be declared 'auto' modernize-use-auto 5 2210
Zero constant can be replaced with nullptr modernize-use-nullptr 3 2210

Registry Settings

Value Name Meaning
CheckerOptions Replace declared type of pointer variable with 'auto'