-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[clang-tidy] Add IgnoredRegex to 'bugprone-suspicious-include' #160958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
47fcb11
4d87bc6
ef6de3f
46bf9cb
50ff6d6
3c17326
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,6 @@ | |
| #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_BUGPRONE_SUSPICIOUSINCLUDECHECK_H | ||
|
|
||
| #include "../ClangTidyCheck.h" | ||
| #include "../utils/FileExtensionsUtils.h" | ||
|
|
||
| namespace clang::tidy::bugprone { | ||
|
|
||
|
|
@@ -28,9 +27,12 @@ class SuspiciousIncludeCheck : public ClangTidyCheck { | |
| SuspiciousIncludeCheck(StringRef Name, ClangTidyContext *Context); | ||
| void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, | ||
| Preprocessor *ModuleExpanderPP) override; | ||
| void storeOptions(ClangTidyOptions::OptionMap &Opts) override; | ||
|
|
||
| FileExtensionsSet HeaderFileExtensions; | ||
| FileExtensionsSet ImplementationFileExtensions; | ||
| std::optional<StringRef> IgnoredRegexString; | ||
|
||
| llvm::Regex IgnoredRegex; | ||
| }; | ||
|
|
||
| } // namespace clang::tidy::bugprone | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.