Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5477 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local
5481 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()
5485 DiagDecl = CD = Inherited; in CheckConstexprFunction()
5496 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()
5497 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()