Home
last modified time | relevance | path

Searched refs:doesThisDeclarationHaveABody (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp2041 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 DUseOverrideCheck.cpp168 if (InsertLoc.isInvalid() && Method->doesThisDeclarationHaveABody() && in check()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNSErrorChecker.cpp110 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DModuleBuilder.cpp211 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
H A DCodeGenModule.cpp3203 if (!FD->doesThisDeclarationHaveABody()) { in EmitGlobal()
4011 if (FD->doesThisDeclarationHaveABody()) { in GetOrCreateLLVMFunction()
6388 if (!cast<FunctionDecl>(D)->doesThisDeclarationHaveABody()) in AddDeferredUnusedCoverageMapping()
H A DItaniumCXXABI.cpp1825 FD->doesThisDeclarationHaveABody()) in CXXRecordAllNonInlineVirtualsHaveAttr()
H A DTargetInfo.cpp891 if (!FD->doesThisDeclarationHaveABody() && !FD->hasPrototype()) in setTargetAttributes()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclPrinter.cpp484 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 DDecl.cpp3019 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 DCommentSema.cpp663 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
H A DDeclCXX.cpp2500 (fn->doesThisDeclarationHaveABody() || fn->willHaveBody()); in hasInlineBody()
H A DASTImporter.cpp304 if (D->doesThisDeclarationHaveABody() && in FindAndMapDefinition()
3409 if (!D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl()
3640 if (D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl()
H A DASTContext.cpp11592 if (!FD->doesThisDeclarationHaveABody()) in DeclMustBeEmitted()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineOutline.cpp385 if (!Source || !Source->doesThisDeclarationHaveABody() || in prepare()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DSourceCodeTest.cpp311 return !Decl->doesThisDeclarationHaveABody() || VisitDeclHelper(Decl); in TEST()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTNodeTraverser.h442 if (D->doesThisDeclarationHaveABody()) in VisitFunctionDecl()
H A DDecl.h2173 doesThisDeclarationHaveABody() || hasSkippedBody() || in isThisDeclarationADefinition()
2183 bool doesThisDeclarationHaveABody() const { in doesThisDeclarationHaveABody() function
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp375 if (!EnclosingFunction->doesThisDeclarationHaveABody()) in lookupSiblingWithinEnclosingScope()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp287 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit()
288 if (FD->doesThisDeclarationHaveABody()) in Visit()
2456 assert(FD->doesThisDeclarationHaveABody()); in AddFunctionDefinition()
H A DASTReaderDecl.cpp2983 return Func->doesThisDeclarationHaveABody() || HasBody; in isConsumerInterestedIn()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp5965 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 DSemaDecl.cpp1814 if (D->doesThisDeclarationHaveABody()) in IsDisallowedCopyOrAssign()
1885 if (FD->doesThisDeclarationHaveABody() && in ShouldWarnIfUnusedFileScopedDecl()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1987 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp871 if (ND->doesThisDeclarationHaveABody() && !ND->isLateTemplateParsed()) { in VisitFunctionDecl()