[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 09:17:20 PST 2023


================
@@ -5943,10 +5954,13 @@ ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) {
 
         // FIXME: sufficient conditon for 'IgnoreTemplateParmDepth'?
         bool IgnoreTemplateParmDepth =
----------------
balazske wrote:

Change of this condition was needed to make a failing test `ImportOfRecursiveFriendClassTemplateWithNonTypeParm` to pass.

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


More information about the cfe-commits mailing list