Home | History | Annotate | Download | only in Sema

Lines Matching refs:Caller

92 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller,
100 (Caller != nullptr) ? IdentifyCUDATarget(Caller) : Sema::CFT_Host;
151 bool Sema::CheckCUDATarget(const FunctionDecl *Caller,
156 return IdentifyCUDAPreference(Caller,Callee) == CFP_Never;
163 CUDAFunctionTarget CallerTarget = IdentifyCUDATarget(Caller),
189 // If the caller is implicit then the check always passes.
190 if (Caller->isImplicit()) return false;
200 Diag(Caller->getLocation(),
202 << Callee->getNameAsString() << Caller->getNameAsString();
214 static void EraseUnwantedCUDAMatchesImpl(Sema &S, const FunctionDecl *Caller,
225 P = S.IdentifyCUDAPreference(Caller, FetchDecl(Match));
232 if (S.IdentifyCUDAPreference(Caller, FetchDecl(Matches[I])) < BestCFP) {
240 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller,
243 *this, Caller, Matches, [](const FunctionDecl *item) { return item; });
246 void Sema::EraseUnwantedCUDAMatches(const FunctionDecl *Caller,
249 *this, Caller, Matches, [](const DeclAccessPair &item) {
255 const FunctionDecl *Caller,
258 *this, Caller, Matches,
304 // members are called from this one, and not from its caller.