Naming Convention Check

Naming Convention Checker checks whether the names of the symbols you have defined in your project correspond to the rules you have assigned. This feature allows:

a. The defining of rules for assigning names to symbols in the form of regular expressions

b. The forming of different sets of rules in the form of files, and their multiple use

c. Quality result display in the form of warnings

d. Easy location of invalidly named symbols and correction.

Keywords that may be used in regular expression for type

C language keywords that name basic types

int, char, float, void, double

C language keywords that name type modifiers

short, const, volatile, signed, unsigned, long, long long, short and many compiler specific type-keywords.

Expressions used, together with other expressions, to form compound types (strings and pointers)

array of and ptr to,
const ptr to, volatile ptr to,
const volatile ptr to, ...

C language keywords struct, union, typedef and enum, used to describe structured (structures and unions) and enumerated types

struct, union, typedef, enum,
library typedef, <enum constant>, ...

The expression used to describe functions

function returning

The expression macro, used to describe macros

global macro, module macro

Keywords used to describe scope

static, register, parameter, auto,
library

Keywords used to describe Labels

<label>

Example: Hungarian notation

Prefix

Data type

Example

a

Variable string

aShape

b

BOOL

bButtonDown

by

BYTE

byXHistory

c

char

cStatus

dw

DWORD

dwStyle

h

handle

hWnd

l

LONG

lParam

m_

class member

m_pMainWindow

n

int

nBeeps

p

pointer

pPen

s

string

sTitle

sz

string ending with null

szClassName

w

WORD

wParam

e

 

eNumX


Copyright 1993-2017, RistanCASE GmbH