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_dirs_); 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()
492 const clang::FunctionDecl *decl, in FunctionDeclWrapper() argument
497 function_decl_(decl) {} in FunctionDeclWrapper()
588 const clang::RecordDecl *decl, repr::ModuleIR *module, in RecordDeclWrapper() argument
592 record_decl_(decl) {} in RecordDeclWrapper()
874 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper() argument
878 enum_decl_(decl) {} in EnumDeclWrapper()
932 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper() argument
936 global_var_decl_(decl) {} in GlobalVarDeclWrapper()