| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | AvoidCArraysCheck.cpp | 36 return FD ? FD->isMain() : false; in AST_MATCHER()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | FunctionNamingCheck.cpp | 101 hasAncestor(namespaceDecl()), isMain(), isImplicit(), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | DefinitionsInHeadersCheck.cpp | 131 if (FD->isMain()) in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | RunLoopAutoreleaseLeakChecker.cpp | 183 isMain(), in checkTempObjectsInNoPool()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-query/ |
| H A D | QueryEngineTest.cpp | 133 EXPECT_FALSE(MatchQuery("isMain()", isMain()).run(OS, S)); in TEST_F()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/cert/ |
| H A D | InvalidPtrChecker.cpp | 235 if (!FD || FD->param_size() != 3 || !FD->isMain()) in checkBeginFunction()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.cpp | 981 if (FDecl->isMain()) in isParamInMainLikeFunction() 1268 if (Decl->isMain() || !Decl->isUserProvided() || in findStyleKind() 1310 if (Decl->isMain()) in findStyleKind()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Writer.cpp | 2294 bool isMain = partNo == 1; in createPhdrs() local 2305 if (isMain) in createPhdrs() 2317 if (isMain) { in createPhdrs() 2358 if (isMain && sec->partition == 255) in createPhdrs()
|
| H A D | SyntheticSections.cpp | 1324 bool isMain = part.name.empty(); in computeContents() local 1347 if (isMain) { in computeContents() 1439 if (isMain && (in.relaPlt->isNeeded() || in.relaIplt->isNeeded())) { in computeContents() 1481 if (isMain) { in computeContents()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Mangle.cpp | 75 if (FD->isMain() && FD->getNumParams() == 2) in getCallingConvMangling()
|
| H A D | Decl.cpp | 3129 bool FunctionDecl::isMain() const { in isMain() function in FunctionDecl
|
| H A D | ItaniumMangle.cpp | 706 if (FD->isMain()) in shouldMangleCXXName()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 443 REGISTER_MATCHER(isMain); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 964 if (FD && ((getLangOpts().CPlusPlus && FD->isMain()) || in StartFunction() 983 if (FD && ((FD->isMain() || FD->isMSVCRTEntryPoint()) && in StartFunction() 988 if (FD && FD->isMain()) in StartFunction()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 736 AST_MATCHER(FunctionDecl, isMain) { in AST_MATCHER() argument 737 return Node.isMain(); in AST_MATCHER()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 3992 EXPECT_TRUE(matches("int main() {}", functionDecl(isMain()))); in TEST_P() 3994 EXPECT_TRUE(notMatches("int main2() {}", functionDecl(isMain()))); in TEST_P()
|
| H A D | ASTMatchersNodeTest.cpp | 2578 EXPECT_FALSE(Finder.addDynamicMatcher(isMain(), nullptr)); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 227 else if (FD->isMain()) in isValidCoroutineContext()
|
| H A D | SemaStmt.cpp | 3955 if (FD->isMain() && RetValExp) in BuildReturnStmt()
|
| H A D | SemaDecl.cpp | 10002 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator() 10153 if (!NewFD->isInvalidDecl() && NewFD->isMain()) in ActOnFunctionDeclarator() 11200 if (NewFD->isMain()) { in CheckMultiVersionFunction()
|
| H A D | SemaOverload.cpp | 1145 if (New->isMain()) in IsOverload()
|
| H A D | SemaDeclCXX.cpp | 17304 if (Fn->isMain()) in SetDeclDeleted()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 393 IsMainAnalysis = FD->isMain() && !Ctx.getLangOpts().CPlusPlus; in getInitialStore()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 2377 bool isMain() const;
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 3045 if (FD->isExternC() && !FD->isMain()) { in getFunctionSourceLocation() 3073 if (FD->isExternC() && !FD->isMain()) { in RewriteLineDirective()
|