================ @@ -4383,6 +4383,11 @@ Sema::CheckVarTemplateId(VarTemplateDecl *Template, SourceLocation TemplateLoc, }; if (VarDecl *Var = Template->getTemplatedDecl(); + // Skipping std::format_kind in libstdc++ is a hack for + // GH139067 / https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120190 + !(Var->getName() == "format_kind" && + Var->getDeclContext()->isStdNamespace() && + PP.isMacroDefined("__GLIBCXX__")) && ---------------- erichkeane wrote:
It would be great if we could find some sort of way to check the actual VERSION of the hack once they fix this, but it doesn't look like they have a fix in flight. https://github.com/llvm/llvm-project/pull/139560 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits