Searched refs:FunctionDecl (Results 151 - 175 of 291) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h41 class FunctionDecl;
238 DefinedSVal getFunctionPointer(const FunctionDecl *func);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp127 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
H A DObjCMT.cpp69 const FunctionDecl *FuncDecl, bool ResultAnnotated);
77 const FunctionDecl *FuncDecl);
1408 if (isa<FunctionDecl>(LastFD)) {
1435 if (const FunctionDecl *FuncDecl = dyn_cast<FunctionDecl>(Decl)) {
1460 const FunctionDecl *FuncDecl,
1485 for (FunctionDecl::param_const_iterator pi = FuncDecl->param_begin(),
1508 const FunctionDecl *FuncDecl) {
1537 for (FunctionDecl::param_const_iterator pi = FuncDecl->param_begin(),
1915 else if (const FunctionDecl *F
[all...]
H A DTransZeroOutPropsInDealloc.cpp140 bool TraverseFunctionDecl(FunctionDecl *D) { return true; }
H A DTransforms.h22 class FunctionDecl;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp124 if (auto *FD = dyn_cast<FunctionDecl>(D))
125 return getCanonicalForwardRedeclChain<FunctionDecl>(FD);
282 Decl *FindAndMapDefinition(FunctionDecl *D, FunctionDecl *FoundFunction) {
283 const FunctionDecl *Definition = nullptr;
286 return Importer.MapImported(D, const_cast<FunctionDecl *>(Definition));
454 FunctionDecl *FromFD);
458 Error ImportTemplateInformation(FunctionDecl *FromFD, FunctionDecl *ToFD);
460 Error ImportFunctionDeclBody(FunctionDecl *FromF
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h401 FunctionDecl *cudaConfigureCallDecl = nullptr;
1137 void adjustDeducedFunctionResultType(FunctionDecl *FD, QualType ResultType);
1152 void adjustExceptionSpec(FunctionDecl *FD,
1231 void setcudaConfigureCallDecl(FunctionDecl *FD) {
1235 FunctionDecl *getcudaConfigureCallDecl() {
1809 std::string getObjCEncodingForFunctionDecl(const FunctionDecl *Decl) const;
1929 bool canBuiltinBeRedeclared(const FunctionDecl *) const;
2770 GVALinkage GetGVALinkageForFunction(const FunctionDecl *FD) const;
2784 const FunctionDecl *FD,
2785 llvm::function_ref<void(FunctionDecl *)> Pre
[all...]
H A DDeclFriend.h150 if (const auto *FD = dyn_cast<FunctionDecl>(ND))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp402 if (FunctionDecl *F = dyn_cast<FunctionDecl>(CurContext))
1616 FunctionDecl *FD = Call->getDirectCallee();
2054 FunctionDecl *D = dyn_cast<FunctionDecl>(CE->getCalleeDecl());
2754 const FunctionDecl *FD = Call->getDirectCallee();
3098 FunctionDecl *FD = Step.Function.Function;
3259 static bool hasDeducedReturnType(FunctionDecl *FD) {
3295 FunctionDecl *FD = CurLambda->CallOperator;
3466 TypeLoc Sema::getReturnTypeLoc(FunctionDecl *F
[all...]
H A DSemaDeclAttr.cpp98 if (const auto *FD = dyn_cast<FunctionDecl>(D))
129 if (const auto *FD = dyn_cast<FunctionDecl>(D))
692 const auto *FD = dyn_cast<FunctionDecl>(D);
843 static bool checkParamIsIntegerType(Sema &S, const FunctionDecl *FD,
867 const auto *FD = cast<FunctionDecl>(D);
979 if (isa<FunctionDecl>(D) && !Cond->isValueDependent() &&
980 !Expr::isPotentialConstantExprUnevaluated(Cond, cast<FunctionDecl>(D),
1011 ArgumentDependenceChecker(const FunctionDecl *FD) {
1065 if (const auto *FD = dyn_cast<FunctionDecl>(D))
1288 // ReturnType = cast<FunctionDecl>(
[all...]
H A DSemaStmtAsm.cpp129 FunctionDecl *Func = dyn_cast<FunctionDecl>(S.CurContext);
259 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext());
H A DSemaExpr.cpp63 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
103 void Sema::NoteDeletedFunction(FunctionDecl *Decl) {
125 /// Determine whether a FunctionDecl was ever declared with an
127 static bool hasAnyExplicitStorageClass(const FunctionDecl *D) {
153 FunctionDecl *Current = S.getCurFunctionDecl();
172 const FunctionDecl *UsedFn = dyn_cast<FunctionDecl>(D);
187 void Sema::MaybeSuggestAddingStaticToDecl(const FunctionDecl *Cur) {
188 const FunctionDecl *Firs
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.h384 void MaybeRegisterFunctionBody(clang::FunctionDecl *copied_function_decl);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp225 if (auto *FD = dyn_cast<FunctionDecl>(ND))
285 FunctionDecl *cudaLaunchKernelFD = nullptr;
287 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(Result))
H A DCGDebugInfo.h154 llvm::DenseMap<const FunctionDecl *, llvm::TrackingMDRef> SPCache;
272 llvm::DINodeArray CollectFunctionTemplateParams(const FunctionDecl *FD,
435 const FunctionDecl *CalleeDecl);
643 /// represented in the given FunctionDecl wrapped in a GlobalDecl.
647 /// represented in the given FunctionDecl wrapped in a GlobalDecl.
675 /// Get function name for the given FunctionDecl. If the name is
678 StringRef getFunctionName(const FunctionDecl *FD);
709 /// Collect various properties of a FunctionDecl.
710 /// \param GD A GlobalDecl whose getDecl() must return a FunctionDecl.
H A DCodeGenTypes.h201 const CGFunctionInfo &arrangeFunctionDeclaration(const FunctionDecl *FD);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp201 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGenericTaintChecker.cpp116 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction();
133 const FunctionDecl *const FDecl;
472 const FunctionDecl *FDecl = FData.FDecl;
796 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction();
H A DMismatchedIteratorChecker.cpp65 const auto *Func = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
H A DVforkChecker.cpp83 auto FD = dyn_cast_or_null<FunctionDecl>(D);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h127 void AddFunctionDefinition(const FunctionDecl *FD);
H A DASTReader.h80 class FunctionDecl;
522 llvm::SmallMapVector<Decl *, FunctionDecl *, 4> PendingExceptionSpecUpdates;
527 llvm::SmallMapVector<FunctionDecl *, QualType, 4> PendingDeducedTypeUpdates;
1079 SmallVector<std::pair<FunctionDecl *, serialization::TypeID>, 16>
1122 llvm::SmallDenseMap<FunctionDecl *, llvm::SmallVector<FunctionDecl *, 2>, 2>
2022 llvm::MapVector<const FunctionDecl *, std::unique_ptr<LateParsedTemplate>>
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp93 bool ByteCodeStmtGen<Emitter>::visitFunc(const FunctionDecl *F) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp982 clang::FunctionDecl *
985 return llvm::dyn_cast<clang::FunctionDecl>(decl);
1017 clang::FunctionDecl *function_decl = m_clang.CreateFunctionDeclaration(
1034 clang::FunctionDecl &function_decl,
1171 return !!llvm::dyn_cast<clang::FunctionDecl>(&context);
1245 clang::FunctionDecl *func_decl = llvm::dyn_cast<clang::FunctionDecl>(&decl);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h139 /// FunctionProtoType and FunctionDecl nodes..
145 inline const FunctionProtoType *getFunctionProtoType(const FunctionDecl &Node) {
687 std::is_base_of<FunctionDecl, T>::value,
711 bool matchesSpecialized(const FunctionDecl &Node) const {
1824 getTemplateSpecializationArgs(const FunctionDecl &FD) {
1847 inline const Stmt *GetBodyMatcher<FunctionDecl>::get(const FunctionDecl &Node) {
1940 void(TypeList<CXXOperatorCallExpr, FunctionDecl>)>;

Completed in 241 milliseconds

1234567891011>>