Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp1830 EXPECT_FALSE(To0->doesThisDeclarationHaveABody()); in TEST_P()
1831 EXPECT_TRUE(To1->doesThisDeclarationHaveABody()); in TEST_P()
1848 EXPECT_FALSE(To0->doesThisDeclarationHaveABody()); in TEST_P()
1849 EXPECT_TRUE(To1->doesThisDeclarationHaveABody()); in TEST_P()
1900 return FD->doesThisDeclarationHaveABody(); in TEST_P()
1910 return FD->doesThisDeclarationHaveABody(); in TEST_P()
2341 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2343 EXPECT_FALSE(ToFD->doesThisDeclarationHaveABody()); in TEST_P()
2359 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2361 EXPECT_FALSE(ToFD->doesThisDeclarationHaveABody()); in TEST_P()
[all …]
/external/clang/lib/CodeGen/
DModuleBuilder.cpp170 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
DCodeGenModule.cpp1578 if (!FD->doesThisDeclarationHaveABody()) { in EmitGlobal()
1960 if (FD->doesThisDeclarationHaveABody()) { in GetOrCreateLLVMFunction()
3961 if (!cast<FunctionDecl>(D)->doesThisDeclarationHaveABody()) in AddDeferredUnusedCoverageMapping()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseOverrideCheck.cpp168 if (InsertLoc.isInvalid() && Method->doesThisDeclarationHaveABody() && in check()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp102 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp110 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
/external/llvm-project/clang/lib/CodeGen/
DModuleBuilder.cpp192 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
DCodeGenModule.cpp2764 if (!FD->doesThisDeclarationHaveABody()) { in EmitGlobal()
3479 if (FD->doesThisDeclarationHaveABody()) { in GetOrCreateLLVMFunction()
5806 if (!cast<FunctionDecl>(D)->doesThisDeclarationHaveABody()) in AddDeferredUnusedCoverageMapping()
/external/llvm-project/clang/lib/AST/
DDeclPrinter.cpp476 cast<FunctionDecl>(*D)->doesThisDeclarationHaveABody()) || in VisitDeclContext()
478 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext()
675 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl()
761 else if (D->doesThisDeclarationHaveABody()) { in VisitFunctionDecl()
DDecl.cpp2892 if (I->doesThisDeclarationHaveABody()) { in hasBody()
3413 assert(!doesThisDeclarationHaveABody() && in doesDeclarationForceExternallyVisibleDefinition()
3440 FoundBody |= Prev->doesThisDeclarationHaveABody(); in doesDeclarationForceExternallyVisibleDefinition()
3442 if (Prev->doesThisDeclarationHaveABody()) { in doesDeclarationForceExternallyVisibleDefinition()
3465 FoundBody |= Prev->doesThisDeclarationHaveABody(); in doesDeclarationForceExternallyVisibleDefinition()
3533 assert((doesThisDeclarationHaveABody() || willHaveBody() || in isInlineDefinitionExternallyVisible()
DCommentSema.cpp691 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
/external/clang/lib/Frontend/
DASTConsumers.cpp263 if (FD->doesThisDeclarationHaveABody()) in PrintDeclContext()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DDefineOutline.cpp376 if (!Source || !Source->doesThisDeclarationHaveABody() || in prepare()
/external/llvm-project/clang/unittests/Tooling/
DSourceCodeTest.cpp311 return !Decl->doesThisDeclarationHaveABody() || VisitDeclHelper(Decl); in TEST()
/external/clang/lib/AST/
DDeclPrinter.cpp501 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl()
639 else if (D->doesThisDeclarationHaveABody() && !Policy.TerseOutput) { in VisitFunctionDecl()
DCommentSema.cpp686 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
DDecl.cpp2852 assert(!doesThisDeclarationHaveABody() && in doesDeclarationForceExternallyVisibleDefinition()
2967 assert(doesThisDeclarationHaveABody() && "Must have the function definition"); in isInlineDefinitionExternallyVisible()
/external/llvm-project/clang/include/clang/AST/
DASTNodeTraverser.h414 if (D->doesThisDeclarationHaveABody()) in VisitFunctionDecl()
DDecl.h2102 doesThisDeclarationHaveABody() || hasSkippedBody() || in isThisDeclarationADefinition()
2112 bool doesThisDeclarationHaveABody() const { in doesThisDeclarationHaveABody() function
/external/clang/lib/Serialization/
DASTWriterDecl.cpp270 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit()
271 if (FD->doesThisDeclarationHaveABody()) in Visit()
2182 assert(FD->doesThisDeclarationHaveABody()); in AddFunctionDefinition()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp285 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit()
286 if (FD->doesThisDeclarationHaveABody()) in Visit()
2443 assert(FD->doesThisDeclarationHaveABody()); in AddFunctionDefinition()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1658 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;
/external/clang/lib/Sema/
DSemaDeclCXX.cpp4604 if (MD->doesThisDeclarationHaveABody()) in CheckAbstractClassUsage()
9199 !Constructor->doesThisDeclarationHaveABody() && in DefineImplicitDefaultConstructor()
9335 !Constructor->doesThisDeclarationHaveABody() && in DefineInheritingConstructor()
9512 !Destructor->doesThisDeclarationHaveABody() && in DefineImplicitDestructor()
10279 !CopyAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitCopyAssignment()
10707 !MoveAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitMoveAssignment()
11057 !CopyConstructor->doesThisDeclarationHaveABody() && in DefineImplicitCopyConstructor()
11239 !MoveConstructor->doesThisDeclarationHaveABody() && in DefineImplicitMoveConstructor()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp5810 if (MD->doesThisDeclarationHaveABody()) in CheckAbstractClassUsage()
8512 !FD->doesThisDeclarationHaveABody()); in DefineDefaultedComparison()
13026 !Constructor->doesThisDeclarationHaveABody() && in DefineImplicitDefaultConstructor()
13165 !Constructor->doesThisDeclarationHaveABody() && in DefineInheritingConstructor()
13312 !Destructor->doesThisDeclarationHaveABody() && in DefineImplicitDestructor()
14002 !CopyAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitCopyAssignment()
14369 !MoveAssignOperator->doesThisDeclarationHaveABody() && in DefineImplicitMoveAssignment()
14671 !CopyConstructor->doesThisDeclarationHaveABody() && in DefineImplicitCopyConstructor()
14805 !MoveConstructor->doesThisDeclarationHaveABody() && in DefineImplicitMoveConstructor()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1860 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;

12