Query module AV Rule 148

name
Use of integer where enum is preferred
description
Enumeration types should be used instead of integer types (and constants) to select from a limited series of choices.
kind
problem
problem.severity
warning
precision
medium
id
cpp/integer-used-for-enum
tags
maintainability readability language-features external/jsf

Imports

cpp

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