Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclCXX.cpp11439 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument
11440 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
11442 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11444 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
11448 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
11449 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
11451 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
11458 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument
11464 FnDecl->getType()->getAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes()
11468 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
[all …]
DSemaOverload.cpp10968 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
10970 if (FnDecl) { in CreateOverloadedUnaryOp()
10975 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
10989 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
10998 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
11004 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
11013 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
11180 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedBinOp() local
11182 if (FnDecl) { in CreateOverloadedBinOp()
11187 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
[all …]
DSemaExprCXX.cpp1995 FunctionDecl *FnDecl = Best->Function; in FindAllocationOverload() local
2000 Operator = FnDecl; in FindAllocationOverload()
/external/clang/include/clang/Sema/
DSema.h5255 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
5257 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);