Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp200 static bool hasBodyOrInit(const FunctionDecl *D, const FunctionDecl *&DefD) { in hasBodyOrInit() function
203 static bool hasBodyOrInit(const VarDecl *D, const VarDecl *&DefD) { in hasBodyOrInit() function
206 template <typename T> static bool hasBodyOrInit(const T *D) { in hasBodyOrInit() function
208 return hasBodyOrInit(D, Unused); in hasBodyOrInit()
240 if (!ND || !hasBodyOrInit(ND, ResultDecl)) in findDefInDeclContext()
255 assert(!hasBodyOrInit(D) && in getCrossTUDefinitionImpl()
694 assert(hasBodyOrInit(D) && "Decls to be imported should have body or init."); in importDefinitionImpl()
719 assert(hasBodyOrInit(ToDecl) && "Imported Decl should have body or init."); in importDefinitionImpl()