We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for the following code, no const should be suggested for the array element type:
void takeintarray(int a[], size_t const len) { for(size_t i=0; i <len;++i) a[i] = a[i] < 0? -a[i]:a[i]; }
suggest and changes a to int const a[]
int const a[]
Cevelop C++ IDE
Version: 1.13.0-201910070714
Constificator 1.13.0.201910091317 com.cevelop.constificator.feature.feature.group IFS Institute for Software
The text was updated successfully, but these errors were encountered:
similar case for local array passed as pointer to non-const type to a function:
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
for the following code, no const should be suggested for the array element type:
Actual Behavior
suggest and changes a to
int const a[]
Cevelop Version, Operating System and Compiler
Cevelop C++ IDE
Version: 1.13.0-201910070714
Constificator 1.13.0.201910091317 com.cevelop.constificator.feature.feature.group IFS Institute for Software
The text was updated successfully, but these errors were encountered: