Home
last modified time | relevance | path

Searched refs:FunctionDecl (Results 1 – 25 of 226) sorted by relevance

12345678910

/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DASTMutationListener.h24 class FunctionDecl; variable
66 const FunctionDecl *D) {} in AddedCXXTemplateSpecialization()
70 virtual void ResolvedExceptionSpec(const FunctionDecl *FD) {} in ResolvedExceptionSpec()
73 virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType);
76 virtual void CompletedImplicitDefinition(const FunctionDecl *D) {} in CompletedImplicitDefinition()
82 virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {} in FunctionDefinitionInstantiated()
H A DASTConsumer.h30 class FunctionDecl; variable
85 virtual void HandleCXXImplicitFunctionInstantiation(FunctionDecl *D) {} in HandleCXXImplicitFunctionInstantiation()
/minix3/external/bsd/llvm/dist/clang/test/Index/
H A Dcomplete-type-factors.m38 // CHECK-CC1: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R…
39 // CHECK-CC1: FunctionDecl:{ResultType enum Priority}{TypedText func2}{LeftParen (}{Placeholder int…
48 // CHECK-CC1: FunctionDecl:{ResultType enum Priority}{TypedText test1}{LeftParen (}{Placeholder enu…
53 // CHECK-CC2: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R…
54 // CHECK-CC2: FunctionDecl:{ResultType enum Priority}{TypedText func2}{LeftParen (}{Placeholder int…
63 // CHECK-CC2: FunctionDecl:{ResultType enum Priority}{TypedText test1}{LeftParen (}{Placeholder enu…
68 // CHECK-CC3: FunctionDecl:{ResultType int}{TypedText func1}{LeftParen (}{Placeholder enum Color}{R…
69 // CHECK-CC3: FunctionDecl:{ResultType enum Priority}{TypedText func2}{LeftParen (}{Placeholder int…
70 // CHECK-CC3: FunctionDecl:{ResultType void}{TypedText func3}{LeftParen (}{Placeholder float}{Right…
79 // CHECK-CC3: FunctionDecl:{ResultType enum Priority}{TypedText test1}{LeftParen (}{Placeholder enu…
[all …]
H A DTestClassForwardDecl.m19 // CHECK-scan: [10:1 - 10:15] FunctionDecl=function:10:6 (Definition)
22 // CHECK-scan: [10:24 - 11:1] FunctionDecl=function:10:6 (Definition)
39 // CHECK-load: TestClassForwardDecl.m:10:6: FunctionDecl=function:10:6 (Definition)
H A DTestClassDecl.m24 // CHECK-scan: [13:1 - 13:15] FunctionDecl=function:13:6 (Definition)
27 // CHECK-scan: [13:24 - 14:1] FunctionDecl=function:13:6 (Definition)
31 // CHECK-load: TestClassDecl.m:13:6: FunctionDecl=function:13:6 (Definition) Extent=[13:1 - 16:2]
H A Dannotate-comments-objc.m106 // CHECK-DAG: annotate-comments-objc.m:7:6: FunctionDecl=functionBeforeImports:{{.*}} BriefComment=…
107 // CHECK-DAG: DocCommentsA.h:2:6: FunctionDecl=functionFromDocCommentsA1:{{.*}} BriefComment=[Comme…
108 // CHECK-DAG: DocCommentsA.h:7:6: FunctionDecl=functionFromDocCommentsA2:{{.*}} BriefComment=[Comme…
109 // CHECK-DAG: DocCommentsB.h:2:6: FunctionDecl=functionFromDocCommentsB1:{{.*}} BriefComment=[Comme…
110 // CHECK-DAG: DocCommentsB.h:7:6: FunctionDecl=functionFromDocCommentsB2:{{.*}} BriefComment=[Comme…
111 // CHECK-DAG: DocCommentsC.h:2:6: FunctionDecl=functionFromDocCommentsC:{{.*}} BriefComment=[Commen…
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDecl.cpp298 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) in getOutermostFuncOrBlockContext()
359 static bool shouldConsiderTemplateVisibility(const FunctionDecl *fn, in shouldConsiderTemplateVisibility()
379 mergeTemplateLV(LinkageInfo &LV, const FunctionDecl *fn, in mergeTemplateLV()
538 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); in useInlineVisibilityHidden()
551 const FunctionDecl *Def = nullptr; in useInlineVisibilityHidden()
614 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
632 const FunctionDecl *Func = dyn_cast<FunctionDecl>(D); in getLVForNamespaceScopeDecl()
735 } else if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) { in getLVForNamespaceScopeDecl()
1080 if (const FunctionDecl *fn = dyn_cast<FunctionDecl>(ND)) { in getExplicitVisibilityAux()
1090 FunctionDecl *InstantiatedFrom = fn->getInstantiatedFromMemberFunction(); in getExplicitVisibilityAux()
[all …]
H A DMangle.cpp60 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) in isExternC()
78 const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND); in getCallingConvMangling()
163 const FunctionDecl *FD = cast<FunctionDecl>(D); in mangleName()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp86 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
89 const FunctionDecl *);
93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
100 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
[all …]
H A DVirtualCallChecker.cpp54 llvm::DenseMap<const FunctionDecl *, Kind> VisitedFunctions;
71 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Enqueue()
90 const FunctionDecl *FD = WLUnit->getDirectCallee(); in Execute()
184 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); in ReportVirtualCall()
H A DUndefinedAssignmentChecker.cpp44 if (const FunctionDecl *EnclosingFunctionDecl = in checkBind()
45 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkBind()
H A DUndefResultChecker.cpp47 if (const FunctionDecl *EnclosingFunctionDecl = in checkPostStmt()
48 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl())) in checkPostStmt()
/minix3/external/bsd/llvm/dist/clang/test/Misc/
H A Dast-dump-stmt.m6 // CHECK: FunctionDecl{{.*}}TestBlockExpr
13 // CHECK: FunctionDecl{{.*}}TestExprWithCleanup
28 // CHECK: FunctionDecl{{.*}}TestObjCAtCatchStmt
/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h241 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const;
244 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
248 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeIdentifier()
257 const FunctionDecl *FunDecl = getCalleeDecl(CE); in getCalleeName()
271 static bool isCLibraryFunction(const FunctionDecl *FD,
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A DCodeInjector.h23 class FunctionDecl; variable
41 virtual Stmt *getBody(const FunctionDecl *D) = 0;
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp22 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const { in getCalleeDecl()
29 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { in getCalleeName()
39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, in isCLibraryFunction()
H A DCallEvent.cpp104 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); in isGlobalCFunction()
245 if (const FunctionDecl* FD = dyn_cast<FunctionDecl>(D)) in getDeclaredResultType()
275 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) in isVariadic()
312 const FunctionDecl *D = getDecl(); in parameters()
321 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
331 const FunctionDecl *D = getDecl(); in argumentsMayEscape()
384 const FunctionDecl *SimpleFunctionCall::getDecl() const { in getDecl()
385 const FunctionDecl *D = getOriginExpr()->getDirectCallee(); in getDecl()
393 const FunctionDecl *CXXInstanceCall::getDecl() const { in getDecl()
398 const FunctionDecl *D = CE->getDirectCallee(); in getDecl()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h21 class FunctionDecl; variable
37 bool followsCreateRule(const FunctionDecl *FD);
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DModelConsumer.cpp36 const FunctionDecl *func = llvm::dyn_cast<FunctionDecl>(*I); in HandleTopLevelDecl()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.h26 class FunctionDecl; variable
37 Stmt *getBody(const FunctionDecl *D);
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSema.cpp259 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); in makeUnavailableInSystemHeader()
388 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { in ShouldRemoveFromUnused()
391 const FunctionDecl *DeclToCheck; in ShouldRemoveFromUnused()
442 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in getUndefinedButUsed()
500 assert(cast<FunctionDecl>(ND)->getMostRecentDecl()->isInlined() && in checkUndefinedButUsed()
593 if (const FunctionDecl *FD = in IsRecordFullyDefined()
594 dyn_cast<FunctionDecl>((*I)->getFriendDecl())) in IsRecordFullyDefined()
645 const FunctionDecl *Definition = nullptr; in ActOnEndOfTranslationUnit()
807 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { in ActOnEndOfTranslationUnit()
808 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit()
[all …]
H A DSemaCUDA.cpp26 FunctionDecl *ConfigDecl = Context.getcudaConfigureCallDecl(); in ActOnCUDAExecConfigExpr()
41 Sema::CUDAFunctionTarget Sema::IdentifyCUDATarget(const FunctionDecl *D) { in IdentifyCUDATarget()
63 bool Sema::CheckCUDATarget(const FunctionDecl *Caller, in CheckCUDATarget()
64 const FunctionDecl *Callee) { in CheckCUDATarget()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h23 class FunctionDecl; variable
52 llvm::DenseMap<const FunctionDecl*, VisitFlag> VisitedFD;
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DMultiplexConsumer.cpp100 const FunctionDecl *D) override;
101 void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) override;
102 void CompletedImplicitDefinition(const FunctionDecl *D) override;
148 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization()
152 void MultiplexASTMutationListener::DeducedReturnType(const FunctionDecl *FD, in DeducedReturnType()
158 const FunctionDecl *D) { in CompletedImplicitDefinition()
260 void MultiplexConsumer::HandleCXXImplicitFunctionInstantiation(FunctionDecl *D){ in HandleCXXImplicitFunctionInstantiation()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp48 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) { in VisitCallExpr()

12345678910