Lines Matching defs:FD
1473 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext() local
1897 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldWarnIfUnusedFileScopedDecl() local
1952 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in MarkUnusedFileScopedDecl() local
2265 if (const auto *FD = dyn_cast<FieldDecl>(ShadowI->second)) { in ActOnPopScope() local
2983 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in getDefinition() local
3013 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(New)) { in checkNewAttributesAfterDef() local
3462 if (const auto *FD = dyn_cast<FunctionDecl>(Old)) { in getNoteDiagForInvalidRedeclaration() local
3476 static bool canRedefineFunction(const FunctionDecl *FD, in canRedefineFunction()
3600 if (auto *FD = dyn_cast<FunctionDecl>(NewD)) in adjustDeclContextForDeclaratorDecl() local
4921 if (auto *FD = dyn_cast<FieldDecl>(D)) { in getNonCLikeKindForAnonymousStruct() local
5445 const auto *FD = dyn_cast<FieldDecl>(I); in findDefaultInitializer() local
5568 if (auto *FD = dyn_cast<FieldDecl>(Mem)) { in BuildAnonymousStructOrUnion() local
6978 if (const auto *FD = dyn_cast<FunctionDecl>(&ND)) { in checkAttributesAfterMerging() local
7048 auto *FD = dyn_cast<FunctionDecl>(OldDecl); in checkDLLAttributeRedeclaration() local
7085 } else if (const auto *FD = dyn_cast<FunctionDecl>(NewDecl)) { in checkDLLAttributeRedeclaration() local
7152 static bool isFunctionDefinitionDiscarded(Sema &S, FunctionDecl *FD) { in isFunctionDefinitionDiscarded()
7214 static bool shouldConsiderLinkage(const FunctionDecl *FD) { in shouldConsiderLinkage()
7268 if (const auto *FD = dyn_cast<FunctionDecl>(D)) in isDeclExternC() local
8184 if (FieldDecl *FD = dyn_cast<FieldDecl>(ShadowedDecl)) { in CheckShadow() local
8401 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Prev)) in checkGlobalOrExternCConflict() local
8549 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType() local
8697 const FunctionDecl *FD = cast<FunctionDecl>(CurContext); in CheckVariableDeclarationType() local
8821 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in ValidateCandidate() local
8894 FunctionDecl *FD = dyn_cast<FunctionDecl>(*Func); in DiagnoseInvalidRedeclaration() local
8917 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in DiagnoseInvalidRedeclaration() local
8982 FunctionDecl *FD = NearMatch->first; in DiagnoseInvalidRedeclaration() local
9474 for (const auto *FD : RD->fields()) { in checkIsValidOpenCLKernelParameter() local
9549 static bool isStdBuiltin(ASTContext &Ctx, FunctionDecl *FD, in isStdBuiltin()
10732 static Attr *getImplicitCodeSegAttrFromClass(Sema &S, const FunctionDecl *FD) { in getImplicitCodeSegAttrFromClass()
10767 Attr *Sema::getImplicitCodeSegOrSectionAttrForFunction(const FunctionDecl *FD, in getImplicitCodeSegOrSectionAttrForFunction()
10852 static bool CheckMultiVersionValue(Sema &S, const FunctionDecl *FD) { in CheckMultiVersionValue()
10918 const FunctionDecl *FD, in checkNonMultiVersionCompatAttributes()
11117 static bool CheckMultiVersionFirstFunction(Sema &S, FunctionDecl *FD) { in CheckMultiVersionFirstFunction()
11142 static bool PreviousDeclsHaveMultiVersionAttribute(const FunctionDecl *FD) { in PreviousDeclsHaveMultiVersionAttribute()
11232 for (const auto *FD : OldFD->redecls()) { in CheckTargetCausesMultiVersioning() local
11787 const auto *FD = dyn_cast<FunctionDecl>(ND); in CheckFunctionDeclaration() local
11948 void Sema::CheckMain(FunctionDecl* FD, const DeclSpec& DS) { in CheckMain()
12108 static bool isDefaultStdCall(FunctionDecl *FD, Sema &S) { in isDefaultStdCall()
12127 void Sema::CheckMSVCRTEntryPoint(FunctionDecl *FD) { in CheckMSVCRTEntryPoint()
12162 void Sema::CheckHLSLEntryPoint(FunctionDecl *FD) { in CheckHLSLEntryPoint()
12272 FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()); in CheckInitListMemberExpr() local
12766 bool shouldIgnoreForRecordTriviality(const FieldDecl *FD) { in shouldIgnoreForRecordTriviality()
12827 for (const FieldDecl *FD : RD->fields()) in visitStruct() local
12892 for (const FieldDecl *FD : RD->fields()) in visitStruct() local
12958 for (const FieldDecl *FD : RD->fields()) in visitStruct() local
14196 auto *FD = dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()); in CheckStaticLocalForDllExport() local
14929 static bool FindPossiblePrototype(const FunctionDecl *FD, in FindPossiblePrototype()
14945 ShouldWarnAboutMissingPrototype(const FunctionDecl *FD, in ShouldWarnAboutMissingPrototype()
14998 Sema::CheckForFunctionRedefinition(FunctionDecl *FD, in CheckForFunctionRedefinition()
15111 FunctionDecl *FD = nullptr; in ActOnStartOfFunctionDef() local
15348 if (const FunctionDecl *FD = D->getAsFunction()) { in canSkipFunctionBody() local
15363 if (FunctionDecl *FD = Decl->getAsFunction()) in ActOnSkippedFunctionBody() local
15421 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody() local
15975 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction() local
15990 FunctionDecl *FD) { in AddKnownFunctionAttributesForReplaceableGlobalAllocationFunction()
16063 void Sema::AddKnownFunctionAttributes(FunctionDecl *FD) { in AddKnownFunctionAttributes()
17689 [](const FieldDecl *FD) { return FD->isBitField(); })) in ActOnTagFinishDefinition()
18121 bool Sema::CheckNontrivialField(FieldDecl *FD) { in CheckNontrivialField()
18593 FieldDecl *FD = cast<FieldDecl>(*i); in ActOnFields() local
18875 const FieldDecl *FD = dyn_cast<FieldDecl>(D); in ActOnFields() local
19864 Sema::FunctionEmissionStatus Sema::getEmissionStatus(FunctionDecl *FD, in getEmissionStatus()