[clang-tools-extra] [clang-tidy] Remove note about `empty` source location in readability-container-size-empty (PR #185085)

Nicolas van Kempen via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 12:19:07 PST 2026


================
@@ -428,11 +428,6 @@ void ContainerSizeEmptyCheck::check(const MatchFinder::MatchResult &Result) {
     if (CTS->getSpecializationKind() == TSK_ImplicitInstantiation)
       Container = CTS->getSpecializedTemplate();
   }
-  const auto *Empty = Result.Nodes.getNodeAs<FunctionDecl>("empty");
----------------
nicovank wrote:

I initially did this, but it's actually used (line 179 in an `equalsBoundNode`).

https://github.com/llvm/llvm-project/pull/185085


More information about the cfe-commits mailing list