[cfe-dev] Problem with clang-tidy not finding all issues when additional header is included

Christian Gagneraud via cfe-dev cfe-dev at lists.llvm.org
Mon May 4 05:44:59 PDT 2020

On Tue, 5 May 2020 at 00:32, Andrew McDonald via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hello, is this the right place to ask about clang-tidy problems? Please direct me somewhere else if appropriate. In a nutshell, I've got a situation where clang-tidy on Mac OS Catalina (installed by compiling LLVM 10.0.0 through Homebrew) will correctly find issues in a source file; but when a standard library header is included, it stops finding them all.

We've recently run clang-tidy on a big internal code base, and I've
noticed a similar issue:
When there are 2 issues on a single given line, only the first issue
is reported.

Could this be related?

My 2 cents,

More information about the cfe-dev mailing list