Skip to content

clang-tidy "errors" should not have exclusions applied (and other exclusion-related bugs) #8724

@sean-mcmanus

Description

@sean-mcmanus

Use

#include <vector>

int main()
{
    std::vector<int> vi{};
    vi.emplace_back(std::pair<int, int>{});
}

We filter out the clang error (assuming system headers warnings are filtered out)...ideally we'd show it in this case, i.e. when there is a "note" referencing a non-excluded file.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions