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

/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp201 static bool hasBodyOrInit(const FunctionDecl *D, const FunctionDecl *&DefD) { function in namespace:clang::cross_tu
204 static bool hasBodyOrInit(const VarDecl *D, const VarDecl *&DefD) { function in namespace:clang::cross_tu
207 template <typename T> static bool hasBodyOrInit(const T *D) { function in namespace:clang::cross_tu
209 return hasBodyOrInit(D, Unused);
241 if (!ND || !hasBodyOrInit(ND, ResultDecl))
256 assert(!hasBodyOrInit(D) &&
696 assert(hasBodyOrInit(D) && "Decls to be imported should have body or init.");
721 assert(hasBodyOrInit(ToDecl) && "Imported Decl should have body or init.");

Completed in 145 milliseconds