johnthagen / johnthagen/clion-cppcheck

Warnings are being hidden by the IDE for no reason

Open
#110 1 comment 0 reactions 0 assignees View on GitHub
bug upstream
Dominant language
Java
Stars
35
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```cpp
struct S1 {};

typedef struct S1 S2;

namespace N {

struct B {
explicit B(int& i);
};

struct S2 : public B {
explicit S2(int& i) : B(i) {}
};

} // namespace N
```

This should produce three warnings but only one (`missingReturn`) is being shown. They exist if you run the `Show Cppcheck XML Output` action.

If you make the code invalid and fix it you might be able to see the missing warnings for the blink of an eye if you are lucky.

I am using CLion 2026.1 Beta on Manjaro Linux.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.