[clang-tools-extra] [clang-tidy] Add QtEnabled option to modernize-use-integer-sign-comprison (PR #122127)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 11 00:38:45 PST 2025
================
@@ -80,11 +80,13 @@ UseIntegerSignComparisonCheck::UseIntegerSignComparisonCheck(
: ClangTidyCheck(Name, Context),
IncludeInserter(Options.getLocalOrGlobal("IncludeStyle",
utils::IncludeSorter::IS_LLVM),
- areDiagsSelfContained()) {}
+ areDiagsSelfContained()),
+ QtFrameworkEnabled(Options.get("QtEnabled", false)) {}
----------------
PiotrZSL wrote:
Note: consider changing it into `EnableQtSupport` (but thats not a must)
https://github.com/llvm/llvm-project/pull/122127
More information about the cfe-commits
mailing list