/external/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 295 CodeGenTypes::arrangeFunctionDeclaration(const FunctionDecl *FD) { argument 296 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) 300 CanQualType FTy = FD->getType()->getCanonicalTypeUnqualified(); 360 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); local 362 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(FD)) 365 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(FD)) 368 return arrangeFunctionDeclaration(FD); 571 for (const auto *FD : RD->fields()) { 572 assert(!FD->isBitField() && 574 CharUnits FieldSize = getContext().getTypeSizeInChars(FD [all...] |
H A D | CGDebugInfo.cpp | 164 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) { argument 165 assert (FD && "Invalid FunctionDecl!"); 166 IdentifierInfo *FII = FD->getIdentifier(); 168 = FD->getTemplateSpecializationInfo(); 175 FD->printName(OS); 1264 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 1265 V = CGM.GetAddrOfFunction(FD); 1343 CollectFunctionTemplateParams(const FunctionDecl *FD, llvm::DIFile Unit) { argument 1344 if (FD->getTemplatedKind() == 1347 FD 2348 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local [all...] |
H A D | CGExpr.cpp | 609 // FIXME: If the base type of the member expr is not FD->getParent(), 611 if (const auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) { 613 DeclContext::decl_iterator(const_cast<FieldDecl *>(FD))); 614 return ++FI == FD->getParent()->field_end(); 1772 const Expr *E, const FunctionDecl *FD) { 1773 llvm::Value *V = CGF.CGM.GetAddrOfFunction(FD); 1774 if (!FD->hasPrototype()) { 1776 FD->getType()->getAs<FunctionProtoType>()) { 1786 CharUnits Alignment = CGF.getContext().getDeclAlign(FD); 1790 static LValue EmitCapturedFieldLValue(CodeGenFunction &CGF, const FieldDecl *FD, argument 1771 EmitFunctionDeclLValue(CodeGenFunction &CGF, const Expr *E, const FunctionDecl *FD) argument 2919 EmitRValueForField(LValue LV, const FieldDecl *FD, SourceLocation Loc) argument [all...] |
H A D | CGObjC.cpp | 2890 FunctionDecl *FD = FunctionDecl::Create(C, local 2904 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); local 2906 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); local 2919 StartFunction(FD, C.VoidTy, Fn, FI, args); 2969 FunctionDecl *FD = FunctionDecl::Create(C, local 2983 ImplicitParamDecl dstDecl(getContext(), FD, SourceLocation(), nullptr,DestTy); local 2985 ImplicitParamDecl srcDecl(getContext(), FD, SourceLocation(), nullptr, SrcTy); local 2997 StartFunction(FD, C.VoidTy, Fn, FI, args);
|
H A D | CodeGenModule.cpp | 832 const auto *FD = cast<FunctionDecl>(GD.getDecl()); local 835 SetLLVMFunctionAttributes(FD, getTypes().arrangeGlobalDeclaration(GD), F); 853 setLinkageAndVisibilityForGV(F, FD); 855 if (const auto *Dtor = dyn_cast_or_null<CXXDestructorDecl>(FD)) { 862 if (const SectionAttr *SA = FD->getAttr<SectionAttr>()) 867 if (FD->isReplaceableGlobalAllocationFunction()) 1239 if (const auto *FD = dyn_cast<FunctionDecl>(Global)) { 1241 if (!FD->doesThisDeclarationHaveABody()) { 1242 if (!FD->doesDeclarationForceExternallyVisibleDefinition()) 1304 const FunctionDecl *FD local 1330 isTriviallyRecursive(const FunctionDecl *FD) argument 1436 const FunctionDecl *FD = cast_or_null<FunctionDecl>(D); local 1516 const auto *FD = cast<FunctionDecl>(D); local [all...] |
H A D | TargetInfo.cpp | 156 static bool isEmptyField(ASTContext &Context, const FieldDecl *FD, argument 158 if (FD->isUnnamedBitfield()) 161 QualType FT = FD->getType(); 248 for (const auto *FD : RD->fields()) { 249 QualType FT = FD->getType(); 252 if (isEmptyField(Context, FD, true)) 324 for (const auto *FD : RD->fields()) { 325 if (!is32Or64BitBasicType(FD->getType(), Context)) 331 if (FD->isBitField()) 334 Size += Context.getTypeSize(FD 3935 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 4403 const FieldDecl *FD = *i; local 4725 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 5144 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 5454 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 499 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 501 if(FD && IL) { 502 unsigned int NumParams = FD->getNumParams(); 511 ArgTy = FD->getParamDecl(ParamIdxFromZero)->getType(); 1006 else if (FieldDecl *FD = dyn_cast<FieldDecl>(D)) { 1009 if (!FD->getType()->isDependentType() && 1010 !FD->getType()->isIncompleteType() && 1011 S.Context.getTypeAlign(FD->getType()) <= 8) 1013 << Attr.getName() << FD->getType(); 1015 FD 2292 FunctionDecl *FD = nullptr; local 3040 FunctionDecl *FD = cast<FunctionDecl>(D); local 3070 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local 3153 CheckCallingConvAttr(const AttributeList &attr, CallingConv &CC, const FunctionDecl *FD) argument [all...] |
H A D | SemaDeclObjC.cpp | 3305 Decl *FD = ObjCAtDefsFieldDecl::Create(Context, Record, local 3310 Decls.push_back(FD); 3316 FieldDecl *FD = cast<FieldDecl>(*D); local 3318 PushOnScopeChains(cast<FieldDecl>(FD), S); 3320 Record->addDecl(FD);
|
H A D | SemaExprCXX.cpp | 1596 static bool isNonPlacementDeallocationFunction(Sema &S, FunctionDecl *FD) { argument 1597 if (FD->isInvalidDecl()) 1600 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FD)) 1603 if (FD->getOverloadedOperator() != OO_Delete && 1604 FD->getOverloadedOperator() != OO_Array_Delete) 1607 if (FD->getNumParams() == 1) 1610 return S.getLangOpts().SizedDeallocation && FD->getNumParams() == 2 && 1611 S.Context.hasSameUnqualifiedType(FD->getParamDecl(1)->getType(), 2617 FunctionDecl *FD = ICS.UserDefined.ConversionFunction; local 2620 assert(FD [all...] |
H A D | SemaInit.cpp | 1768 FieldDecl *FD = candidate.getCorrectionDeclAs<FieldDecl>(); variable 1769 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record);
|
H A D | SemaStmt.cpp | 231 if (const Decl *FD = CE->getCalleeDecl()) { 232 if (FD->hasAttr<WarnUnusedResultAttr>()) { 238 if (FD->hasAttr<PureAttr>()) { 242 if (FD->hasAttr<ConstAttr>()) { 1480 FunctionDecl *FD = Call->getDirectCallee(); local 1481 if (!FD || !FD->isOverloadedOperator()) return false; 1482 switch (FD->getOverloadedOperator()) { 2576 static bool hasDeducedReturnType(FunctionDecl *FD) { argument 2578 FD 2596 FunctionDecl *FD = CurLambda->CallOperator; local 2726 DeduceFunctionTypeFromReturnExpr(FunctionDecl *FD, SourceLocation ReturnLoc, Expr *&RetExpr, AutoType *AT) argument 2871 FunctionDecl *FD = cast<FunctionDecl>(CurContext); local [all...] |
H A D | SemaTemplate.cpp | 6348 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 6349 FD->setInlineSpecified(false); 6351 for (auto I : FD->params()) 6578 Sema::CheckDependentFunctionTemplateSpecialization(FunctionDecl *FD, argument 6583 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); 6597 FD->setDependentTemplateSpecialization(Context, Previous.asUnresolvedSet(), 6607 /// the function declaration \p FD will become a function template 6610 /// \param FD the function declaration, which will be updated to become a 6621 FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs, 6626 TemplateSpecCandidateSet FailedCandidates(FD 6620 CheckFunctionTemplateSpecialization( FunctionDecl *FD, TemplateArgumentListInfo *ExplicitTemplateArgs, LookupResult &Previous) argument 8154 MarkAsLateParsedTemplate(FunctionDecl *FD, Decl *FnD, CachedTokens &Toks) argument 8169 UnmarkAsLateParsedTemplate(FunctionDecl *FD) argument 8180 const FunctionDecl *FD = RD->isLocalClass(); local [all...] |
H A D | SemaChecking.cpp | 740 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(FDecl)) 741 parms = FD->parameters(); 1676 else if (FunctionDecl *FD = getCurFunctionDecl()) 1677 isVariadic = FD->isVariadic(); 1703 else if (FunctionDecl *FD = getCurFunctionDecl()) 1704 LastArg = *(FD->param_end()-1); 2156 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 2157 unsigned BuiltinID = FD->getBuiltinID(); 3849 FunctionDecl *FD = dyn_cast<FunctionDecl>(R.getFoundDecl()); local 3850 if (FD 4326 const FunctionDecl *FD = CE->getDirectCallee(); local 4804 CheckReturnValExpr(Expr *RetValExp, QualType lhsType, SourceLocation ReturnLoc, bool isObjCMethod, const AttrVec *Attrs, const FunctionDecl *FD) argument 6219 const FunctionDecl *FD = nullptr; local 7047 const FieldDecl *FD = dyn_cast<FieldDecl>(ND); local [all...] |
H A D | SemaDecl.cpp | 1086 FunctionDecl *FD = D->getAsFunction(); local 1087 if (!FD) 1092 assert(CurContext == FD->getLexicalParent() && 1094 CurContext = FD; 1097 for (unsigned P = 0, NumParams = FD->getNumParams(); P < NumParams; ++P) { 1098 ParmVarDecl *Param = FD->getParamDecl(P); 1326 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 1327 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 1330 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) { 1335 if (FD 2350 canRedefineFunction(const FunctionDecl *FD, const LangOptions& LangOpts) argument 3674 const auto *FD = dyn_cast<FieldDecl>(I); local 5074 isFunctionDefinitionDiscarded(Sema &S, FunctionDecl *FD) argument 5141 shouldConsiderLinkage(const FunctionDecl *FD) argument 6248 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); variable 6311 FunctionDecl *FD = dyn_cast<FunctionDecl>(*Func); local 6334 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); local 6397 FunctionDecl *FD = NearMatch->first; local 7917 CheckMain(FunctionDecl* FD, const DeclSpec& DS) argument 8058 CheckMSVCRTEntryPoint(FunctionDecl *FD) argument 9730 ShouldWarnAboutMissingPrototype(const FunctionDecl *FD, const FunctionDecl*& PossibleZeroParamPrototype) argument 9782 CheckForFunctionRedefinition(FunctionDecl *FD, const FunctionDecl *EffectiveDefinition) argument 10078 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; local 10356 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); local 10375 AddKnownFunctionAttributes(FunctionDecl *FD) argument 11998 CheckNontrivialField(FieldDecl *FD) argument 12263 FieldDecl *FD = cast<FieldDecl>(*i); local [all...] |
H A D | SemaDeclCXX.cpp | 402 static bool functionDeclHasDefaultArgument(const FunctionDecl *FD) { argument 403 for (unsigned NumParams = FD->getNumParams(); NumParams > 0; --NumParams) { 404 const ParmVarDecl *PVD = FD->getParamDecl(NumParams-1); 666 void Sema::CheckCXXDefaultArguments(FunctionDecl *FD) { argument 667 unsigned NumParams = FD->getNumParams(); 672 ParmVarDecl *Param = FD->getParamDecl(p); 685 ParmVarDecl *Param = FD->getParamDecl(p); 707 ParmVarDecl *Param = FD->getParamDecl(p); 719 const FunctionDecl *FD) { 721 const FunctionProtoType *FT = FD 718 CheckConstexprParameterTypes(Sema &SemaRef, const FunctionDecl *FD) argument 1907 InitializationHasSideEffects(const FieldDecl &FD) argument 2181 FieldDecl *FD = cast<FieldDecl>(Member); local 2424 FieldDecl *FD = cast<FieldDecl>(D); local 3626 FieldDecl *FD = dyn_cast<FieldDecl>(C); local 4389 FunctionDecl *FD = cast<FunctionTemplateDecl>(D)->getTemplatedDecl(); local 4394 FieldDecl *FD = cast<FieldDecl>(D); local 5260 shouldDeleteForField(FieldDecl *FD) argument 8582 const FunctionDecl *FD = (*I)->getTemplatedDecl(); local 10551 isImplicitlyDeleted(FunctionDecl *FD) argument 12093 FunctionDecl *FD; local [all...] |
H A D | SemaOverload.cpp | 1104 /// \returns true if \arg FD is unavailable and current context is inside 1106 bool Sema::isFunctionConsideredUnavailable(FunctionDecl *FD) { argument 1107 return FD->isUnavailable() && !cast<Decl>(CurContext)->isUnavailable(); 5753 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 5754 if (isa<CXXMethodDecl>(FD) && !cast<CXXMethodDecl>(FD)->isStatic()) 5755 AddMethodCandidate(cast<CXXMethodDecl>(FD), F.getPair(), 5756 cast<CXXMethodDecl>(FD)->getParent(), 5761 AddOverloadCandidate(FD, F.getPair(), Args, CandidateSet, 8172 if (FunctionDecl *FD 11992 FunctionDecl *FD = Best->Function; local [all...] |
H A D | SemaExpr.cpp | 56 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 57 if (FD->isDeleted()) 62 if (getLangOpts().CPlusPlus1y && FD->getReturnType()->isUndeducedType() && 63 DeduceReturnType(FD, SourceLocation(), /*Diagnose*/ false)) 296 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 297 if (FD->isDeleted()) { 299 NoteDeletedFunction(FD); 305 if (getLangOpts().CPlusPlus1y && FD->getReturnType()->isUndeducedType() && 306 DeduceReturnType(FD, Loc)) 321 std::string Sema::getDeletedOrUnavailableSuffix(const FunctionDecl *FD) { argument 1683 FieldDecl *FD = dyn_cast<FieldDecl>(D); local 3952 BuildCXXDefaultArgExpr(SourceLocation CallLoc, FunctionDecl *FD, ParmVarDecl *Param) argument 12789 CheckCallReturnType(QualType ReturnType, SourceLocation Loc, CallExpr *CE, FunctionDecl *FD) argument 12802 FunctionDecl *FD; member in class:CallReturnIncompleteDiagnoser 12806 CallReturnIncompleteDiagnoser(FunctionDecl *FD, CallExpr *CE) argument [all...] |
/external/clang/lib/Serialization/ |
H A D | ASTReaderDecl.cpp | 268 void VisitFunctionDecl(FunctionDecl *FD); 273 void VisitFieldDecl(FieldDecl *FD); 274 void VisitMSPropertyDecl(MSPropertyDecl *FD); 275 void VisitIndirectFieldDecl(IndirectFieldDecl *FD); 365 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 367 // We only read it if FD doesn't already have a body (e.g., from another 372 Reader.PendingBodies[FD] = GetCurrentCursorOffset(); 570 void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) { argument 571 RedeclarableResult Redecl = VisitRedeclarable(FD); 572 VisitDeclaratorDecl(FD); 864 VisitObjCAtDefsFieldDecl(ObjCAtDefsFieldDecl *FD) argument 952 VisitFieldDecl(FieldDecl *FD) argument 972 VisitIndirectFieldDecl(IndirectFieldDecl *FD) argument 3191 FunctionDecl *FD = cast<FunctionDecl>(D); local 3270 auto *FD = cast<FunctionDecl>(D); local 3281 FunctionDecl *FD = cast<FunctionDecl>(D); local [all...] |
H A D | ASTWriter.cpp | 5570 void ASTWriter::ResolvedExceptionSpec(const FunctionDecl *FD) { argument 5572 FD = FD->getCanonicalDecl(); 5573 if (!FD->isFromASTFile()) 5576 DeclUpdates[FD].push_back(UPD_CXX_RESOLVED_EXCEPTION_SPEC); 5579 void ASTWriter::DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) { argument 5581 FD = FD->getCanonicalDecl(); 5582 if (!FD->isFromASTFile()) 5585 DeclUpdates[FD] [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 626 const RetainSummary *getCFSummaryCreateRule(const FunctionDecl *FD); 627 const RetainSummary *getCFSummaryGetRule(const FunctionDecl *FD); 628 const RetainSummary *getCFCreateGetRuleSummary(const FunctionDecl *FD); 728 const RetainSummary *getFunctionSummary(const FunctionDecl *FD); 773 const FunctionDecl *FD); 858 static bool isRetain(const FunctionDecl *FD, StringRef FName) { argument 862 static bool isRelease(const FunctionDecl *FD, StringRef FName) { argument 866 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { argument 870 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { argument 998 RetainSummaryManager::getFunctionSummary(const FunctionDecl *FD) { argument 1223 getCFCreateGetRuleSummary(const FunctionDecl *FD) argument 1255 getCFSummaryCreateRule(const FunctionDecl *FD) argument 1262 getCFSummaryGetRule(const FunctionDecl *FD) argument 1297 updateSummaryFromAnnotations(const RetainSummary *&Summ, const FunctionDecl *FD) argument 1890 os << "Call to function '" << *FD << '\\''; local 2003 const FunctionDecl *FD = X.getAsFunctionDecl(); local 2009 os << "In GC mode a call to '" << *FD local 2024 os << "When GC is not enabled a call to '" << *FD local 2292 const FunctionDecl *FD = cast<FunctionDecl>(D); local 2293 os << "whose name ('" << *FD local 3211 const FunctionDecl *FD = C.getCalleeDecl(CE); local 3836 getEffect(const FunctionDecl *FD) argument [all...] |
/external/clang/include/clang/AST/ |
H A D | Expr.h | 507 static bool isPotentialConstantExpr(const FunctionDecl *FD, 513 /// it were in function FD marked constexpr. Return false if the function can 517 const FunctionDecl *FD, 3858 void setInitializedFieldInUnion(FieldDecl *FD) { argument 3859 assert((FD == nullptr 3861 || getInitializedFieldInUnion() == FD) 3863 ArrayFillerOrUnionFieldInit = FD; 4091 void setField(FieldDecl *FD) { argument 4093 Field.NameOrField = reinterpret_cast<uintptr_t>(FD);
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 292 void RewriteFunctionDecl(FunctionDecl *FD); 295 void RewriteBlockLiteralFunctionDecl(FunctionDecl *FD); 328 void RewriteBlockPointerFunctionArgs(FunctionDecl *FD); 357 CallExpr *SynthesizeCallToFunctionDecl(FunctionDecl *FD, 406 void InsertBlockLiteralsWithinFunction(FunctionDecl *FD); 667 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 668 RewriteFunctionDecl(FD); 2016 FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc, 2019 QualType msgSendType = FD->getType(); 2022 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, fals 2015 SynthesizeCallToFunctionDecl( FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc, SourceLocation EndLoc) argument 2245 RewriteFunctionDecl(FunctionDecl *FD) argument 2299 RewriteBlockLiteralFunctionDecl(FunctionDecl *FD) argument 3651 InsertBlockLiteralsWithinFunction(FunctionDecl *FD) argument 3835 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 3883 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 3970 RewriteBlockPointerFunctionArgs(FunctionDecl *FD) argument 4460 FunctionDecl *FD; local 4840 FunctionDecl *FD = cast<FunctionDecl>(D); local [all...] |
H A D | RewriteModernObjC.cpp | 346 void RewriteFunctionDecl(FunctionDecl *FD); 349 void RewriteBlockLiteralFunctionDecl(FunctionDecl *FD); 403 void RewriteBlockPointerFunctionArgs(FunctionDecl *FD); 423 CallExpr *SynthesizeCallToFunctionDecl(FunctionDecl *FD, 501 void InsertBlockLiteralsWithinFunction(FunctionDecl *FD); 744 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 745 RewriteFunctionDecl(FD); 898 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 904 MemberExpr *ME = new (Context) MemberExpr(PE, true, FD, SourceLocation(), 905 FD 2126 SynthesizeCallToFunctionDecl( FunctionDecl *FD, Expr **args, unsigned nargs, SourceLocation StartLoc, SourceLocation EndLoc) argument 2360 RewriteFunctionDecl(FunctionDecl *FD) argument 2413 RewriteBlockLiteralFunctionDecl(FunctionDecl *FD) argument 3098 getFunctionSourceLocation(RewriteModernObjC &R, FunctionDecl *FD) argument 3235 FunctionDecl *FD = FunctionDecl::Create(*Context, TUDecl, SourceLocation(), local 4546 InsertBlockLiteralsWithinFunction(FunctionDecl *FD) argument 4751 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 4799 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 4903 RewriteBlockPointerFunctionArgs(FunctionDecl *FD) argument 5402 FunctionDecl *FD; local 5824 FunctionDecl *FD = cast<FunctionDecl>(D); local 7709 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local 7738 FieldDecl *FD = FieldDecl::Create(*Context, nullptr, SourceLocation(), local [all...] |
/external/clang/tools/libclang/ |
H A D | CIndex.cpp | 4986 const FunctionDecl *FD = dyn_cast<FunctionDecl>(getCursorDecl(C)); local 4987 CompoundStmt *Body = dyn_cast<CompoundStmt>(FD->getBody()); 4989 SourceManager &SM = FD->getASTContext().getSourceManager(); 6224 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 6225 if (FunctionTemplateDecl *FunTmpl = FD->getDescribedFunctionTemplate()) 6351 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) 6352 return FD->isVariadic();
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 83 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 84 if (FD->getTemplateSpecializationKind() == TSK_ImplicitInstantiation) 264 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 266 if (const FunctionTemplateDecl *FTD = FD->getDescribedFunctionTemplate()) 270 if (FD->getTemplateSpecializationKind() != TSK_ImplicitInstantiation) 274 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) 279 FD->getInstantiatedFromMemberFunction()) 1120 const FunctionDecl *FD){ 1121 assert(FD && "Specialization is 0"); 1123 = ClassScopeSpecializationPattern.find(FD); 1119 getClassScopeSpecializationPattern( const FunctionDecl *FD) argument 1130 setClassScopeSpecializationPattern(FunctionDecl *FD, FunctionDecl *Pattern) argument 2097 adjustDeducedFunctionResultType(FunctionDecl *FD, QualType ResultType) argument 5178 EncodeBitField(const ASTContext *Ctx, std::string& S, QualType T, const FieldDecl *FD) argument 5212 getObjCEncodingForTypeImpl(QualType T, std::string& S, bool ExpandPointedToStructures, bool ExpandStructures, const FieldDecl *FD, bool OutermostType, bool EncodingProperty, bool StructField, bool EncodeBlockParameters, bool EncodeClassNames, bool EncodePointerToObjCTypedef) const argument 5491 ExpandStructures, FD); local 5582 getObjCEncodingForStructureImpl(RecordDecl *RDecl, std::string &S, const FieldDecl *FD, bool includeVBases) const argument 7437 DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) argument 7757 basicGVALinkageForFunction(const ASTContext &Context, const FunctionDecl *FD) argument [all...] |