Lines Matching defs:FD

1193   FunctionDecl *FD = D->getAsFunction();  in ActOnReenterFunctionContext()  local
1431 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldWarnIfUnusedFileScopedDecl() local
1477 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in MarkUnusedFileScopedDecl() local
1664 if (const auto *FD = dyn_cast<FieldDecl>(ShadowI->second)) { in ActOnPopScope() local
2330 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) in getDefinition() local
2357 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(New)) { in checkNewAttributesAfterDef() local
2642 static bool canRedefineFunction(const FunctionDecl *FD, in canRedefineFunction()
4216 const auto *FD = dyn_cast<FieldDecl>(I); in findDefaultInitializer() local
4333 if (auto *FD = dyn_cast<FieldDecl>(Mem)) { in BuildAnonymousStructOrUnion() local
5632 auto *FD = dyn_cast<FunctionDecl>(OldDecl); in checkDLLAttributeRedeclaration() local
5668 } else if (const auto *FD = dyn_cast<FunctionDecl>(NewDecl)) { in checkDLLAttributeRedeclaration() local
5707 static bool isFunctionDefinitionDiscarded(Sema &S, FunctionDecl *FD) { in isFunctionDefinitionDiscarded()
5779 static bool shouldConsiderLinkage(const FunctionDecl *FD) { in shouldConsiderLinkage()
5840 if (const auto *FD = dyn_cast<FunctionDecl>(D)) in isDeclExternC() local
6550 if (FieldDecl *FD = dyn_cast<FieldDecl>(ShadowedDecl)) { in CheckShadow() local
6705 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Prev)) in checkGlobalOrExternCConflict() local
6865 FunctionDecl *FD = getCurFunctionDecl(); in CheckVariableDeclarationType() local
7126 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in ValidateCandidate() local
7187 FunctionDecl *FD = dyn_cast<FunctionDecl>(*Func); in DiagnoseInvalidRedeclaration() local
7212 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in DiagnoseInvalidRedeclaration() local
7275 FunctionDecl *FD = NearMatch->first; in DiagnoseInvalidRedeclaration() local
7605 for (const auto *FD : RD->fields()) { in checkIsValidOpenCLKernelParameter() local
8904 void Sema::CheckMain(FunctionDecl* FD, const DeclSpec& DS) { in CheckMain()
9051 void Sema::CheckMSVCRTEntryPoint(FunctionDecl *FD) { in CheckMSVCRTEntryPoint()
9147 FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()); in CheckInitListMemberExpr() local
9343 if (FunctionDecl *FD = E->getDirectCallee()) { in VisitCallExpr() local
10515 if (FunctionDecl *FD = in FinalizeDeclaration() local
11088 static bool ShouldWarnAboutMissingPrototype(const FunctionDecl *FD, in ShouldWarnAboutMissingPrototype()
11144 Sema::CheckForFunctionRedefinition(FunctionDecl *FD, in CheckForFunctionRedefinition()
11239 FunctionDecl *FD = nullptr; in ActOnStartOfFunctionDef() local
11420 if (const FunctionDecl *FD = D->getAsFunction()) in canSkipFunctionBody() local
11427 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(Decl)) in ActOnSkippedFunctionBody() local
11440 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody() local
11805 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); in ImplicitlyDefineFunction() local
11824 void Sema::AddKnownFunctionAttributes(FunctionDecl *FD) { in AddKnownFunctionAttributes()
13628 bool Sema::CheckNontrivialField(FieldDecl *FD) { in CheckNontrivialField()
13892 FieldDecl *FD = cast<FieldDecl>(*i); in ActOnFields() local