Home
last modified time | relevance | path

Searched refs:DiagDecl (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp425 const FunctionDecl *DiagDecl = F->getDecl(); in CheckCallable() local
429 const auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckCallable()
433 DiagDecl = CD = Inherited; in CheckCallable()
442 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
447 if (!DiagDecl->isDefined() && S.checkingPotentialConstantExpression()) in CheckCallable()
451 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckCallable()
452 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5650 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local
5654 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()
5658 DiagDecl = CD = Inherited; in CheckConstexprFunction()
5669 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()
5670 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()