HomeSort by: relevance | last modified time | path
    Searched refs:NewFD (Results 1 - 8 of 8) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDecl.cpp 8295 Sema &SemaRef, LookupResult &Previous, FunctionDecl *NewFD,
8297 DeclarationName Name = NewFD->getDeclName();
8298 DeclContext *NewDC = NewFD->getDeclContext();
8305 NewFD->getFriendObjectKind() ? diag::err_qualified_friend_no_match :
8307 LookupResult Prev(SemaRef, Name, NewFD->getLocation(),
8312 NewFD->setInvalidDecl();
8319 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
8320 DifferentNameValidatorCCC CCC(SemaRef.Context, NewFD,
8327 hasSimilarParameters(SemaRef.Context, FD, NewFD, MismatchedParams)) {
8350 hasSimilarParameters(SemaRef.Context, FD, NewFD, MismatchedParams))
    [all...]
SemaCUDA.cpp 852 void Sema::checkCUDATargetOverload(FunctionDecl *NewFD,
855 CUDAFunctionTarget NewTarget = IdentifyCUDATarget(NewFD);
870 !IsOverload(NewFD, OldFD, /* UseMemberUsingDeclRules = */ false,
872 Diag(NewFD->getLocation(), diag::err_cuda_ovl_target)
873 << NewTarget << NewFD->getDeclName() << OldTarget << OldFD;
875 NewFD->setInvalidDecl();
SemaDeclCXX.cpp 1737 bool Sema::CheckConstexprFunctionDefinition(const FunctionDecl *NewFD,
1739 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
1753 Diag(NewFD->getLocation(), diag::err_constexpr_virtual_base)
1754 << isa<CXXConstructorDecl>(NewFD)
1763 if (!isa<CXXConstructorDecl>(NewFD)) {
1768 const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD);
1793 if (!CheckConstexprReturnType(*this, NewFD, Kind))
1797 if (auto *Dtor = dyn_cast<CXXDestructorDecl>(NewFD)) {
1810 if (!CheckConstexprParameterTypes(*this, NewFD, Kind))
1813 Stmt *Body = NewFD->getBody()
    [all...]
SemaDeclAttr.cpp 8457 FunctionDecl *NewFD;
8462 NewFD = FunctionDecl::Create(
8467 NewD = NewFD;
8470 NewFD->setQualifierInfo(FD->getQualifierLoc());
8478 ParmVarDecl *Param = BuildParmVarDeclForTypedef(NewFD, Loc, AI);
8482 NewFD->setParams(Params);
SemaOpenMP.cpp 6994 auto *NewFD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl());
6995 if (!NewFD) {
7004 Context.mergeFunctionTypes(FD->getType(), NewFD->getType());
7008 << NewFD->getType() << FD->getType() << VariantRef->getSourceRange();
7013 setPrototype(*this, FD, NewFD, NewType);
7014 else if (NewFD->getType()->isFunctionNoProtoType())
7015 setPrototype(*this, NewFD, FD, NewType);
7020 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) {
7025 NewFD->specific_attr_begin<OMPDeclareVariantAttr>()->getRange()
    [all...]
SemaLookup.cpp 3540 FunctionDecl *NewFD = New->getAsFunction();
3542 FunctionDecl *Cursor = NewFD;
3550 // If we do find OldFD, then NewFD is newer.
SemaExpr.cpp 19329 FunctionDecl *NewFD = FunctionDecl::Create(
19336 NewFD->setQualifierInfo(FD->getQualifierLoc());
19345 NewFD->setParams(Params);
19346 DRE->setDecl(NewFD);
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 2692 FunctionDecl *NewFD, LookupResult &Previous,
10266 const FunctionDecl *OldFD, const FunctionDecl *NewFD,
12192 /// Check whether NewFD is a valid overload for CUDA. Emits
12193 /// diagnostics and invalidates NewFD if not.
12194 void checkCUDATargetOverload(FunctionDecl *NewFD,

Completed in 99 milliseconds