rspec/rules/S875/rule.adoc

11 lines
483 B
Plaintext
Raw Normal View History

This rule is a strict implementation of a MISRA (Motor Industry Software Reliability Association) rule. MISRA defines best practices for developing safety-critical software. You can learn more about this rule in the MISRA documents referenced below.
== See
* MISRA C 2004, 12.8
* MISRA C++ 2008, 5-8-1 - The right hand operand of a shift operator shall lie between zero and one less than the width in bits of the _underlying type_ of the left hand operand.
* MISRA C 2012, 12.2