Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.cpp345 const FunctionDecl *DiagDecl = F->getDecl(); in CheckCallable() local
349 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckCallable()
353 DiagDecl = CD = Inherited; in CheckCallable()
364 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckCallable()
365 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp5559 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local
5563 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()
5567 DiagDecl = CD = Inherited; in CheckConstexprFunction()
5578 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()
5579 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()