Lines Matching refs:decl
70 std::string ABIWrapper::GetDeclSourceFile(const clang::Decl *decl, in GetDeclSourceFile() argument
74 clang::SourceLocation location = decl->getLocation(); in GetDeclSourceFile()
87 const clang::Decl *decl, const clang::CompilerInstance *cip) { in GetCachedDeclSourceFile() argument
88 assert(decl != nullptr); in GetCachedDeclSourceFile()
89 auto result = ast_caches_->decl_to_source_file_cache_.find(decl); in GetCachedDeclSourceFile()
91 return GetDeclSourceFile(decl, cip, ast_caches_->root_dir_); in GetCachedDeclSourceFile()
97 const clang::NamedDecl *decl, clang::MangleContext *mangle_contextp) { in GetMangledNameDecl() argument
98 if (!mangle_contextp->shouldMangleDeclName(decl)) { in GetMangledNameDecl()
99 clang::IdentifierInfo *identifier = decl->getIdentifier(); in GetMangledNameDecl()
104 mangle_contextp->mangleName(decl, ostream); in GetMangledNameDecl()
491 const clang::FunctionDecl *decl, in FunctionDeclWrapper() argument
496 function_decl_(decl) {} in FunctionDeclWrapper()
587 const clang::RecordDecl *decl, repr::ModuleIR *module, in RecordDeclWrapper() argument
591 record_decl_(decl) {} in RecordDeclWrapper()
871 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper() argument
875 enum_decl_(decl) {} in EnumDeclWrapper()
925 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper() argument
929 global_var_decl_(decl) {} in GlobalVarDeclWrapper()