[clang-tools-extra] [clang-tidy] added `RespectOpaqueTypes` option to `readability-qualified-auto check` (PR #147060)
Juan Besa via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 02:58:36 PDT 2025
================
@@ -174,6 +176,21 @@ void QualifiedAutoCheck::registerMatchers(MatchFinder *Finder) {
void QualifiedAutoCheck::check(const MatchFinder::MatchResult &Result) {
if (const auto *Var = Result.Nodes.getNodeAs<VarDecl>("auto")) {
+ if (RespectOpaqueTypes) {
----------------
JuanBesa wrote:
Thanks, I have updated with the type
https://github.com/llvm/llvm-project/pull/147060
More information about the cfe-commits
mailing list