/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 1830 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/ |
D | ModuleBuilder.cpp | 170 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
|
D | CodeGenModule.cpp | 1578 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/ |
D | UseOverrideCheck.cpp | 168 if (InsertLoc.isInvalid() && Method->doesThisDeclarationHaveABody() && in check()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NSErrorChecker.cpp | 102 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | NSErrorChecker.cpp | 110 if (!D->doesThisDeclarationHaveABody()) in checkASTDecl()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | ModuleBuilder.cpp | 192 assert(D->doesThisDeclarationHaveABody()); in HandleInlineFunctionDefinition()
|
D | CodeGenModule.cpp | 2764 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/ |
D | DeclPrinter.cpp | 476 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()
|
D | Decl.cpp | 2892 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()
|
D | CommentSema.cpp | 691 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 263 if (FD->doesThisDeclarationHaveABody()) in PrintDeclContext()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DefineOutline.cpp | 376 if (!Source || !Source->doesThisDeclarationHaveABody() || in prepare()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | SourceCodeTest.cpp | 311 return !Decl->doesThisDeclarationHaveABody() || VisitDeclHelper(Decl); in TEST()
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 501 } else if (D->doesThisDeclarationHaveABody() && !D->hasPrototype()) { in VisitFunctionDecl() 639 else if (D->doesThisDeclarationHaveABody() && !Policy.TerseOutput) { in VisitFunctionDecl()
|
D | CommentSema.cpp | 686 FD->doesThisDeclarationHaveABody()) in checkDeprecatedCommand()
|
D | Decl.cpp | 2852 assert(!doesThisDeclarationHaveABody() && in doesDeclarationForceExternallyVisibleDefinition() 2967 assert(doesThisDeclarationHaveABody() && "Must have the function definition"); in isInlineDefinitionExternallyVisible()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTNodeTraverser.h | 414 if (D->doesThisDeclarationHaveABody()) in VisitFunctionDecl()
|
D | Decl.h | 2102 doesThisDeclarationHaveABody() || hasSkippedBody() || in isThisDeclarationADefinition() 2112 bool doesThisDeclarationHaveABody() const { in doesThisDeclarationHaveABody() function
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 270 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/ |
D | ASTWriterDecl.cpp | 285 Record.push_back(FD->doesThisDeclarationHaveABody()); in Visit() 286 if (FD->doesThisDeclarationHaveABody()) in Visit() 2443 assert(FD->doesThisDeclarationHaveABody()); in AddFunctionDefinition()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1658 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 4604 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/ |
D | SemaDeclCXX.cpp | 5810 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/ |
D | ASTMatchersInternal.h | 1860 return Node.doesThisDeclarationHaveABody() ? Node.getBody() : nullptr;
|