================
@@ -857,7 +862,8 @@ bool Sema::isTemplateOrSpecialization() {
     return false;
   if (!ThisDeclInfo->IsFilled)
     inspectThisDecl();
-  return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate;
+  return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate ||
+         isa<ConceptDecl>(ThisDeclInfo->CommentDecl);
----------------
cor3ntin wrote:

I think the underlying issue is that `void DeclInfo::fill()` does not handle 
concepts. can you investigate that?

https://github.com/llvm/llvm-project/pull/199800
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to