| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 2041 EXPECT_FALSE(To0->doesThisDeclarationHaveABody()); in TEST_P() 2042 EXPECT_TRUE(To1->doesThisDeclarationHaveABody()); in TEST_P() 2059 EXPECT_FALSE(To0->doesThisDeclarationHaveABody()); in TEST_P() 2060 EXPECT_TRUE(To1->doesThisDeclarationHaveABody()); in TEST_P() 2111 return FD->doesThisDeclarationHaveABody(); in TEST_P() 2554 EXPECT_FALSE(ToFD->doesThisDeclarationHaveABody()); in TEST_P() 2572 EXPECT_FALSE(ToFD->doesThisDeclarationHaveABody()); in TEST_P() 2589 EXPECT_FALSE(ToFD->doesThisDeclarationHaveABody()); in TEST_P() 2607 EXPECT_TRUE(ToFD->doesThisDeclarationHaveABody()); in TEST_P() 4424 ->doesThisDeclarationHaveABody()); in TEST_P() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseOverrideCheck.cpp | 168 if (InsertLoc.isInvalid() && Method->doesThisDeclarationHaveABody() && in check()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSErrorChecker.cpp | 110 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ModuleBuilder.cpp | 211 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
|
| H A D | CodeGenModule.cpp | 3203 if (!FD->doesThisDeclarationHaveABody()) { in EmitGlobal() 4011 if (FD->doesThisDeclarationHaveABody()) { in GetOrCreateLLVMFunction() 6388 if (!cast<FunctionDecl>(D)->doesThisDeclarationHaveABody()) in AddDeferredUnusedCoverageMapping()
|
| H A D | ItaniumCXXABI.cpp | 1825 FD->doesThisDeclarationHaveABody()) in CXXRecordAllNonInlineVirtualsHaveAttr()
|
| H A D | TargetInfo.cpp | 891 if (!FD->doesThisDeclarationHaveABody() && !FD->hasPrototype()) in setTargetAttributes()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 484 cast<FunctionDecl>(*D)->doesThisDeclarationHaveABody()) || in VisitDeclContext() 486 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext() 688 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl() 774 else if (D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl()
|
| H A D | Decl.cpp | 3019 if (I->doesThisDeclarationHaveABody()) { in hasBody() 3549 assert(!doesThisDeclarationHaveABody() && in doesDeclarationForceExternallyVisibleDefinition() 3576 FoundBody |= Prev->doesThisDeclarationHaveABody(); in doesDeclarationForceExternallyVisibleDefinition() 3578 if (Prev->doesThisDeclarationHaveABody()) { in doesDeclarationForceExternallyVisibleDefinition() 3601 FoundBody |= Prev->doesThisDeclarationHaveABody(); in doesDeclarationForceExternallyVisibleDefinition() 3669 assert((doesThisDeclarationHaveABody() || willHaveBody() || in isInlineDefinitionExternallyVisible()
|
| H A D | CommentSema.cpp | 663 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
|
| H A D | DeclCXX.cpp | 2500 (fn->doesThisDeclarationHaveABody() || fn->willHaveBody()); in hasInlineBody()
|
| H A D | ASTImporter.cpp | 304 if (D->doesThisDeclarationHaveABody() && in FindAndMapDefinition() 3409 if (!D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl() 3640 if (D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl()
|
| H A D | ASTContext.cpp | 11592 if (!FD->doesThisDeclarationHaveABody()) in DeclMustBeEmitted()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineOutline.cpp | 385 if (!Source || !Source->doesThisDeclarationHaveABody() || in prepare()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | SourceCodeTest.cpp | 311 return !Decl->doesThisDeclarationHaveABody() || VisitDeclHelper(Decl); in TEST()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTNodeTraverser.h | 442 if (D->doesThisDeclarationHaveABody()) in VisitFunctionDecl()
|
| H A D | Decl.h | 2173 doesThisDeclarationHaveABody() || hasSkippedBody() || in isThisDeclarationADefinition() 2183 bool doesThisDeclarationHaveABody() const { in doesThisDeclarationHaveABody() function
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 375 if (!EnclosingFunction->doesThisDeclarationHaveABody()) in lookupSiblingWithinEnclosingScope()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 287 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit() 288 if (FD->doesThisDeclarationHaveABody()) in Visit() 2456 assert(FD->doesThisDeclarationHaveABody()); in AddFunctionDefinition()
|
| H A D | ASTReaderDecl.cpp | 2983 return Func->doesThisDeclarationHaveABody() || HasBody; in isConsumerInterestedIn()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 5965 if (FD->doesThisDeclarationHaveABody()) in CheckAbstractClassUsage() 8775 !FD->doesThisDeclarationHaveABody()); in DefineDefaultedComparison() 13477 !Constructor->doesThisDeclarationHaveABody() && in DefineImplicitDefaultConstructor() 13617 !Constructor->doesThisDeclarationHaveABody() && in DefineInheritingConstructor() 13764 !Destructor->doesThisDeclarationHaveABody() && in DefineImplicitDestructor() 14463 !CopyAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitCopyAssignment() 14826 !MoveAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitMoveAssignment() 15133 !CopyConstructor->doesThisDeclarationHaveABody() && in DefineImplicitCopyConstructor() 15266 !MoveConstructor->doesThisDeclarationHaveABody() && in DefineImplicitMoveConstructor()
|
| H A D | SemaDecl.cpp | 1814 if (D->doesThisDeclarationHaveABody()) in IsDisallowedCopyOrAssign() 1885 if (FD->doesThisDeclarationHaveABody() && in ShouldWarnIfUnusedFileScopedDecl()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1987 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 871 if (ND->doesThisDeclarationHaveABody() && !ND->isLateTemplateParsed()) { in VisitFunctionDecl()
|