Home
last modified time | relevance | path

Searched refs:HasBody (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DODRHash.cpp575 const bool HasBody = Function->isThisDeclarationADefinition() && in AddFunctionDecl() local
578 AddBoolean(HasBody); in AddFunctionDecl()
579 if (!HasBody) { in AddFunctionDecl()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTReader.h1065 InterestingDecl(Decl *D, bool HasBody) in InterestingDecl() argument
1066 : D(D), DeclHasPendingBody(HasBody) {} in InterestingDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp2954 static bool isConsumerInterestedIn(ASTContext &Ctx, Decl *D, bool HasBody) { in isConsumerInterestedIn() argument
2983 return Func->doesThisDeclarationHaveABody() || HasBody; in isConsumerInterestedIn()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp2337 bool HasBody = FD->hasBody(FDBody); in SetFunctionAttributes() local
2338 (void)HasBody; in SetFunctionAttributes()
2339 assert(HasBody && "Inline builtin declarations should always have an " in SetFunctionAttributes()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp2051 TEST(HasBody, FindsBodyOfForWhileDoLoops) { in TEST() argument
2064 TEST(HasBody, FindsBodyOfFunctions) { in TEST() argument