johnthagen / johnthagen/clion-cppcheck

single line files without newline show findings as global message

Open
#76 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
35
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```cpp
int f(int*p){return *p;}
```

![image](https://user-images.githubusercontent.com/242857/180854845-ce6b5cf2-6c53-460b-be3b-3ae66939d25a.png)

If you add the newline at the end of the line it shows up in the `Problems` tab as expected.

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.