[clang-tools-extra] [clang] remove ClassScopeFunctionSpecializationDecl (PR #66636)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 18 17:55:53 PDT 2023


================
@@ -1016,21 +1003,20 @@ void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
   }
   case FunctionDecl::TK_DependentFunctionTemplateSpecialization: {
     // Templates.
-    UnresolvedSet<8> TemplDecls;
-    unsigned NumTemplates = Record.readInt();
-    while (NumTemplates--)
-      TemplDecls.addDecl(readDeclAs<NamedDecl>());
+    UnresolvedSet<8> Candidates;
+    unsigned NumCandidates = Record.readInt();
----------------
shafik wrote:

It looks like this should be `uint64_t`, although it does not seem to do what the "label says" it does.

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


More information about the cfe-commits mailing list