Local Value Escapes Scope
Reports the variables with the references to the local variables that escape their scope.
Example:
int *escapeLocalScope() {
int lv = 100;
return &lv;
}
Inspection Details | |
---|---|
Available in: | AppCode 2023.3, CLion 2023.3 |
Plugin: | CLion, 2023.3 |
Last modified: 13 July 2023