Lines Matching refs:decl
70 std::string ABIWrapper::GetDeclSourceFile(const clang::Decl *decl, in GetDeclSourceFile() argument
73 clang::SourceLocation location = decl->getLocation(); in GetDeclSourceFile()
86 const clang::Decl *decl, const clang::CompilerInstance *cip) { in GetCachedDeclSourceFile() argument
87 assert(decl != nullptr); in GetCachedDeclSourceFile()
88 auto result = ast_caches_->decl_to_source_file_cache_.find(decl); in GetCachedDeclSourceFile()
90 return GetDeclSourceFile(decl, cip); in GetCachedDeclSourceFile()
96 const clang::NamedDecl *decl, clang::MangleContext *mangle_contextp) { in GetMangledNameDecl() argument
97 if (!mangle_contextp->shouldMangleDeclName(decl)) { in GetMangledNameDecl()
98 clang::IdentifierInfo *identifier = decl->getIdentifier(); in GetMangledNameDecl()
103 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()
870 const clang::EnumDecl *decl, repr::ModuleIR *module, in EnumDeclWrapper() argument
874 enum_decl_(decl) {} in EnumDeclWrapper()
924 const clang::VarDecl *decl, repr::ModuleIR *module, in GlobalVarDeclWrapper() argument
928 global_var_decl_(decl) {} in GlobalVarDeclWrapper()