Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp204 static bool hasBodyOrInit(const FunctionDecl *D, const FunctionDecl *&DefD) { in hasBodyOrInit() function
207 static bool hasBodyOrInit(const VarDecl *D, const VarDecl *&DefD) { in hasBodyOrInit() function
210 template <typename T> static bool hasBodyOrInit(const T *D) { in hasBodyOrInit() function
212 return hasBodyOrInit(D, Unused); in hasBodyOrInit()
244 if (!ND || !hasBodyOrInit(ND, ResultDecl)) in findDefInDeclContext()
259 assert(!hasBodyOrInit(D) && in getCrossTUDefinitionImpl()
706 assert(hasBodyOrInit(D) && "Decls to be imported should have body or init."); in importDefinitionImpl()
731 assert(hasBodyOrInit(ToDecl) && "Imported Decl should have body or init."); in importDefinitionImpl()