Checker | Guideline |
---|
ElseIfWithoutElse | MSC01-CPP. Strive for logical completeness |
FunctionEllipsis | DCL50-CPP. Do not define a C-style variadic function |
IncAndDecMixedWithOtherOperators | EXP50-CPP. Do not depend on the order of evaluation for side effects |
NonEmptyCaseWithoutBreak | MSC18-CPP. Finish every set of statements associated with a case label with a break statement |
S1036 | MSC20-CPP. Do not use a switch statement to transfer control into a complex block |
S1044 | ERR61-CPP. Catch exceptions by lvalue reference |
S1116 | MSC12-CPP. Detect and remove code that has no effect |
S1235 | OOP52-CPP. Do not delete a polymorphic object without a virtual destructor |
S1265 | DCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope |
S1656 | MSC12-CPP. Detect and remove code that has no effect |
S1699 | OOP50-CPP. Do not invoke virtual functions from constructors or destructors |
S1751 | MSC07-CPP. Detect and remove dead code |
S1751 | MSC12-CPP. Detect and remove code that has no effect |
S1762 | MSC00-CPP. Compile cleanly at high warning levels |
S1763 | MSC07-CPP. Detect and remove dead code |
S1764 | MSC12-CPP. Detect and remove code that has no effect |
S1862 | MSC12-CPP. Detect and remove code that has no effect |
S3229 | OOP53-CPP. Write constructor member initializers in the canonical order |
S3468 | DCL53-CPP. Do not write syntactically ambiguous declarations |
S3470 | MSC53-CPP. Do not modify the standard namespaces |
S935 | MSC54-CPP. Value-returning functions must return a value from all exit paths |
S935 | MSC55-CPP. Do not return from a function declared [[noreturn]] |
S973 | MSC00-CPP. Compile cleanly at high warning levels |
S978 | DCL51-CPP. Do not declare or define a reserved identifier |
SwitchWithoutDefault | MSC01-CPP. Strive for logical completeness |
TrigraphUsage | PRE07-CPP. Avoid using repeated question marks |
UnnamedNamespaceInHeader | DCL58-CPP. Do not define an unnamed namespace in a header file |