Cevelop / Issues

The official issue tracker for Cevelop.
9 stars 1 forks source link

Constificator suggests to add const on a function parameter having an alias type for a const qualified type #55

Closed fmorgner closed 6 years ago

fmorgner commented 6 years ago

Expected Behavior

Constificator should not suggest adding const to foo in the following example.

using alias = int const;

void funct(alias foo) {
}

Actual Behavior

Constificator suggest adding const-qualification to foo.

Cevelop Version, Operating System and Compiler

Current release and current master. OS and Compiler not applicable

Darnor commented 6 years ago

Fixed in latest Constificator update.