Eugene.Zelenko added a comment.
In https://reviews.llvm.org/D45444#1063291, @JonasToth wrote:
> > It'll be good idea to have option to apply this check for
> > pointer/references only, or include built-in types/enums.
> Agreed. I aim at a `mark handles const`(default on), `mark values
> const`(default on for objects), `mark pointer (const int * >> const <<)
> const` (default off)
> What do you mean by built-in types/enums? That they are configurable separate
> to objects?
I meant integers/floating point numbers/Boolean/enums. It may be overkill to
apply this check for legacy code base in single pass.
rCTE Clang Tools Extra
cfe-commits mailing list