Home
last modified time | relevance | path

Searched refs:FnDecl (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclCXX.cpp11658 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument
11659 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
11661 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11663 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
11667 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
11668 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11670 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
11677 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument
11683 FnDecl->getType()->getAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes()
11687 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
[all …]
DSemaOverload.cpp11566 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
11568 if (FnDecl) { in CreateOverloadedUnaryOp()
11573 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
11587 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
11596 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
11602 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
11611 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
11776 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedBinOp() local
11778 if (FnDecl) { in CreateOverloadedBinOp()
11783 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
[all …]
DSemaExprCXX.cpp2237 FunctionDecl *FnDecl = Best->Function; in FindAllocationOverload() local
2242 Operator = FnDecl; in FindAllocationOverload()
/external/clang/include/clang/Sema/
DSema.h5646 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
5648 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);