19 std::vector<clang::NamedDecl *> &decls) {
23 std::vector<CompilerDecl> compiler_decls;
24 uint32_t ret =
FindDecls(name,
false, max_matches, compiler_decls);
27 clang::NamedDecl *nd = llvm::cast<clang::NamedDecl>(d);
uint32_t FindDecls(ConstString name, bool append, uint32_t max_matches, std::vector< clang::NamedDecl * > &decls)
Represents a generic declaration such as a function declaration.
A uniqued constant string class.
A class that represents a running process on the host machine.
static clang::Decl * GetDecl(const CompilerDecl &decl)
Returns the clang::Decl of the given CompilerDecl.