TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
ASML C Coding Standard
Search

Rule:  6.7.1.cChecked automatically with code checker

Synopsis:Since "register" is redundant it shall be omitted to avoid cluttering up declarations.
Language:C
Severity Level:4
Category:Declarations


Description:

Justification

"register" is a hint to the compiler. Most modern compilers can do a better job of register allocation than a programmer can - it is recommended that "register" be avoided unless it can be demonstrated that it causes a substantial improvement in speed. "register" clutters up declarations if it is not required and it does not add information to the code.