Home
last modified time | relevance | path

Searched refs:isMain (Results 1 – 19 of 19) sorted by relevance

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp183 isMain(), in checkTempObjectsInNoPool()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp237 if (!FD || FD->param_size() != 3 || !FD->isMain()) in checkBeginFunction()
/openbsd/gnu/llvm/lld/ELF/
H A DWriter.cpp2276 bool isMain = partNo == 1; in createPhdrs() local
2287 if (isMain) in createPhdrs()
2299 if (isMain) { in createPhdrs()
2340 if (isMain && sec->partition == 255) in createPhdrs()
H A DSyntheticSections.cpp1292 bool isMain = part.name.empty(); in computeContents() local
1315 if (isMain) { in computeContents()
1407 if (isMain && (in.relaPlt->isNeeded() || in.relaIplt->isNeeded())) { in computeContents()
1457 if (isMain) { in computeContents()
/openbsd/gnu/llvm/clang/lib/AST/
H A DMangle.cpp75 if (FD->isMain() && FD->getNumParams() == 2) in getCallingConvMangling()
H A DDecl.cpp3158 bool FunctionDecl::isMain() const { in isMain() function in FunctionDecl
H A DItaniumMangle.cpp704 if (FD->isMain()) in shouldMangleCXXName()
/openbsd/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp444 REGISTER_MATCHER(isMain); in RegistryMaps()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp983 if (FD && ((getLangOpts().CPlusPlus && FD->isMain()) || in StartFunction()
1002 if (FD && ((FD->isMain() || FD->isMSVCRTEntryPoint()) && in StartFunction()
1007 if (FD && FD->isMain()) in StartFunction()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h737 AST_MATCHER(FunctionDecl, isMain) { in AST_MATCHER() argument
738 return Node.isMain(); in AST_MATCHER()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp227 else if (FD->isMain()) in isValidCoroutineContext()
H A DSemaStmt.cpp3947 if (FD->isMain() && RetValExp) in BuildReturnStmt()
H A DSemaDecl.cpp10209 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator()
10360 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator()
11505 if (NewFD->isMain()) { in CheckMultiVersionFunction()
H A DSemaOverload.cpp1241 if (New->isMain()) in IsOverload()
H A DSemaDeclCXX.cpp17513 if (Fn->isMain()) in SetDeclDeleted()
H A DSemaExpr.cpp246 if (cast<FunctionDecl>(D)->isMain()) in DiagnoseUseOfDecl()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp397 IsMainAnalysis = FD->isMain() && !Ctx.getLangOpts().CPlusPlus; in getInitialStore()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDecl.h2434 bool isMain() const;
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3045 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation()
3073 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()