Skip to content

clang-tidy "notes" applying to excluded files can appear for non-excluded files (and possibly causing incorrect warning filtering) #8723

@sean-mcmanus

Description

@sean-mcmanus

If a clang-tidy warning occurs that is followed by another warning that is excluded that has "notes", the notes can get associated with the non-excluded warning instead of the excluded warning, causing the "note" to appear attached to the wrong warning.

This can also cause warnings to be incorrectly filtered out if the "notes" is an "expanded from macro" or "Calling" type.

Metadata

Metadata

Assignees

Labels

Feature: Code AnalysisRelated to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions