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

Rule:  6.4.1.aChecked automatically with code checker

Synopsis:C keywords are reserved for use as keywords and shall not be used otherwise.
Language:C
Severity Level:2
Category:Lexical Elements


Description:

Justification

The use of keywords other than as keywords leads to undefined behavior.

Example

int if; /* WRONG */

Note

C keywords are:

autobreakcasecharconstcontinue
defaultdodoubleelseenumextern
floatforgotoifinlineint
longregisterrestrictreturnshortsigned
sizeofstaticstructswitchtypedefunion
unsignedvoidvolatilewhile_Bool_Complex
_Imaginary