Query module AV Rule 48

name
AV Rule 48
description
Indentifiers will not differ by: (a) only case, (b) only underscores, (c) O vs 0 and D, (d) I vs 1 and l, (e) S vs 5, (f) Z vs 2, (g) n vs h
kind
problem
id
cpp/jsf/av-rule-48
problem.severity
warning
tags
maintainability readability external/jsf

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Predicates

canonicalName1
canonicalName2
compatibleScopes
local

Is the declaration local to that function?

same
structLocal

Is the declaration local to that struct? Reduce false warning by taking into account struct lookup rules - since a struct members can never be referred to other than in a qualified way it doesn’t really count.