Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp228 static bool hasBodyOrInit(const FunctionDecl *D, const FunctionDecl *&DefD) { in hasBodyOrInit() function
231 static bool hasBodyOrInit(const VarDecl *D, const VarDecl *&DefD) { in hasBodyOrInit() function
234 template <typename T> static bool hasBodyOrInit(const T *D) { in hasBodyOrInit() function
236 return hasBodyOrInit(D, Unused); in hasBodyOrInit()
268 if (!ND || !hasBodyOrInit(ND, ResultDecl)) in findDefInDeclContext()
283 assert(!hasBodyOrInit(D) && in getCrossTUDefinitionImpl()
730 assert(hasBodyOrInit(D) && "Decls to be imported should have body or init."); in importDefinitionImpl()
754 assert(hasBodyOrInit(ToDecl) && "Imported Decl should have body or init."); in importDefinitionImpl()