================
@@ -9316,7 +9322,7 @@ void Sema::CheckConceptRedefinition(ConceptDecl *NewDecl,
}
bool Sema::CheckConceptUseInDefinition(NamedDecl *Concept, SourceLocation Loc)
{
- if (auto *CE = llvm::dyn_cast<ConceptDecl>(Concept);
+ if (auto *CE = llvm::dyn_cast_if_present<ConceptDecl>(Concept);
----------------
cor3ntin wrote:
No, left over from a bogus refactor that i later reverted
https://github.com/llvm/llvm-project/pull/218738
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits