v.g.vassilev added inline comments.
================ Comment at: clang/lib/AST/DeclTemplate.cpp:337 +void RedeclarableTemplateDecl::loadLazySpecializationsImpl( + bool OnlyPartial/*=false*/) const { // Grab the most recent declaration to ensure we've loaded any lazy ---------------- shafik wrote: > `/*=false*/` is this left over code that was meant to be removed? That was not my intent. I added `/*=false*/` to keep track of the the actual default argument. However, you are right, we are not using it without passing the correct argument. I will drop the default arg. ================ Comment at: clang/lib/AST/DeclTemplate.cpp:366 + Args, + TemplateParameterList *TPL) const { + CommonBase *CommonBasePtr = getMostRecentDecl()->getCommonPtr(); ---------------- Hahnfeld wrote: > ChuanqiXu wrote: > > TPL here looks not used. > This is required because of the argument forwarding from > `findSpecializationImpl` below... Are you suggesting to make this replacement: `TPL` -> `/*TPL*/`? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D41416/new/ https://reviews.llvm.org/D41416 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits