Empty declaration or statement
Reports empty declarations and statements that can be removed safely.
Example:
void foo() {
//code
}; // redundant empty declaration
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
EmptyDeclOrStmt
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | CLion, 2024.3 |