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

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
GenericTaintChecker.cpp 106 FunctionData(const FunctionDecl *FDecl, StringRef Name,
108 : FDecl(FDecl), Name(Name), FullName(std::move(FullName)) {}
119 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction();
120 if (!FDecl || (FDecl->getKind() != Decl::Function &&
121 FDecl->getKind() != Decl::CXXMethod))
124 StringRef Name = C.getCalleeName(FDecl);
125 std::string FullName = FDecl->getQualifiedNameAsString();
129 return FunctionData{FDecl, Name, std::move(FullName)}
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetLibraryInfo.h 117 bool getLibFunc(const Function &FDecl, LibFunc &F) const;
282 bool getLibFunc(const Function &FDecl, LibFunc &F) const {
283 return Impl->getLibFunc(FDecl, F);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaChecking.cpp 1440 Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl, unsigned BuiltinID,
1869 Context.getExceptionObjectType(FDecl->getParamDecl(0)->getType()),
4408 const NamedDecl *FDecl,
4413 ObjCStringFormatFamily SFFamily = FDecl->getObjCFStringFormattingFamily();
4419 for (const auto *I : FDecl->specific_attrs<FormatAttr>()) {
4441 S.Diag(FDecl->getLocation(), diag::note_entity_declared_at)
4442 << FDecl->getDeclName();
4455 const NamedDecl *FDecl,
4459 assert((FDecl || Proto) && "Need a function declaration or prototype");
4466 if (FDecl) {
    [all...]
SemaExpr.cpp 962 FunctionDecl *FDecl) {
967 (FDecl && FDecl->hasAttr<CFAuditedTransferAttr>()))) {
3104 FunctionDecl *FDecl = cast<FunctionDecl>(D);
3107 if (FDecl->getBuiltinID() && FDecl->isImplicit())
5690 Sema::getVariadicCallType(FunctionDecl *FDecl, const FunctionProtoType *Proto,
5693 if (dyn_cast_or_null<CXXConstructorDecl>(FDecl))
5697 else if (FDecl) {
5698 if (CXXMethodDecl *Method = dyn_cast_or_null<CXXMethodDecl>(FDecl))
    [all...]
SemaCodeComplete.cpp 3684 auto FDecl = Result.getFunction();
3685 if (!FDecl)
3687 if (ArgIndex < FDecl->getNumParams())
3688 return Ctx.getRawCommentForAnyRedecl(FDecl->getParamDecl(ArgIndex));
3774 FunctionDecl *FDecl = getFunction();
3777 if (!FDecl && !Proto) {
3789 if (FDecl) {
3794 AddResultTypeChunk(S.Context, Policy, FDecl, QualType(), Result);
3798 FDecl->getDeclName().print(OS, Policy);
3806 AddOverloadParameterChunks(S.getASTContext(), Policy, FDecl, Proto, Result
    [all...]
SemaOverload.cpp 13059 FunctionDecl *FDecl = (*Best)->Function;
13061 if (SemaRef.DiagnoseUseOfDecl(FDecl, ULE->getNameLoc()))
13063 Fn = SemaRef.FixOverloadedFunctionReference(Fn, (*Best)->FoundDecl, FDecl);
13064 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc,
13120 FunctionDecl *FDecl = (*Best)->Function;
13121 Fn = SemaRef.FixOverloadedFunctionReference(Fn, (*Best)->FoundDecl, FDecl);
13122 return SemaRef.BuildResolvedCallExpr(Fn, FDecl, LParenLoc, Args, RParenLoc,
SemaLookup.cpp 3013 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction();
3017 addAssociatedClassesAndNamespaces(Result, FDecl->getType());
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ReachableCode.cpp 63 if (const auto *FDecl = dyn_cast<FunctionDecl>(DRE->getDecl()))
64 return FDecl->getIdentifier() &&
65 FDecl->getBuiltinID() == Builtin::BI__builtin_unreachable;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
TargetLibraryInfo.cpp 1583 bool TargetLibraryInfoImpl::getLibFunc(const Function &FDecl,
1588 if (FDecl.isIntrinsic()) return false;
1591 FDecl.getParent() ? &FDecl.getParent()->getDataLayout() : nullptr;
1592 return getLibFunc(FDecl.getName(), F) &&
1593 isValidProtoForLibFunc(*FDecl.getFunctionType(), F, DL);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
LowerTypeTests.cpp 1079 Function *FDecl;
1083 FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage,
1085 FDecl->setVisibility(GlobalValue::HiddenVisibility);
1089 FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage,
1091 FDecl->setVisibility(Visibility);
1110 replaceWeakDeclarationWithJumpTablePtr(F, FDecl, isJumpTableCanonical);
1112 replaceCfiUses(F, FDecl, isJumpTableCanonical);
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 5366 FunctionDecl *FDecl,
11307 VariadicCallType getVariadicCallType(FunctionDecl *FDecl,
11345 bool GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl,
11356 FunctionDecl *FDecl);
12411 bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall,
12418 void CheckConstructorCall(FunctionDecl *FDecl, QualType ThisType,
12422 void CheckArgAlignment(SourceLocation Loc, NamedDecl *FDecl,
12425 void checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
12433 ExprResult CheckBuiltinFunctionCall(FunctionDecl *FDecl,
12571 const FunctionDecl *FDecl);
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 210 if (FunctionDecl *FDecl = dyn_cast<FunctionDecl>(*I)) {
215 if (FDecl->isThisDeclarationADefinition() &&
217 !FDecl->isTopLevelDeclInObjCContainer()) {
218 FunctionDefinitionsSeen.push_back(FDecl);
5845 FunctionDecl *FDecl = FunctionDefinitionsSeen[i];
5846 HandleTopLevelSingleDecl(FDecl);
  /src/external/apache2/llvm/dist/clang/lib/AST/
Expr.cpp 1445 auto *FDecl =
1447 return FDecl ? FDecl->getBuiltinID() : 0;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.cpp 2229 if (const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(TargetDecl))
2230 HasStrictReturn &= !FDecl->isExternC();

Completed in 94 milliseconds