Cannot suppress clang-tidy --header-filter argument #9566
Labels
bug
Feature: Code Analysis
Related to integration with clang-tidy, cppcheck, cl.exe /analyze, etc.
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Milestone
I use the HeaderFilterRegex option inside the .clang-tidy configuration file. I want to use this option when running clang-tidy from the vscode cpptools extension or outside of vscode. Unfortunately I have not find a way to prevent cpptools from passing --header-filter argument to clang-tidy. If specified it takes precedence over the option in the .clang-tidy configuration. The only way to make it work is to use the same option that is inside .clang-tidy for "C_Cpp.codeAnalysis.clangTidy.headerFilter".
There should be a way to prevent passing --header-filter by cpptools extension.
The text was updated successfully, but these errors were encountered: