Searched refs:opaque_decl (Results 1 – 4 of 4) sorted by relevance
149 ConstString TypeSystem::DeclGetMangledName(void *opaque_decl) { in DeclGetMangledName() argument153 CompilerDeclContext TypeSystem::DeclGetDeclContext(void *opaque_decl) { in DeclGetDeclContext() argument157 CompilerType TypeSystem::DeclGetFunctionReturnType(void *opaque_decl) { in DeclGetFunctionReturnType() argument161 size_t TypeSystem::DeclGetFunctionNumArguments(void *opaque_decl) { return 0; } in DeclGetFunctionNumArguments() argument163 CompilerType TypeSystem::DeclGetFunctionArgumentType(void *opaque_decl, in DeclGetFunctionArgumentType() argument
98 virtual ConstString DeclGetName(void *opaque_decl) = 0;100 virtual ConstString DeclGetMangledName(void *opaque_decl);102 virtual CompilerDeclContext DeclGetDeclContext(void *opaque_decl);104 virtual CompilerType DeclGetFunctionReturnType(void *opaque_decl);106 virtual size_t DeclGetFunctionNumArguments(void *opaque_decl);108 virtual CompilerType DeclGetFunctionArgumentType(void *opaque_decl,111 virtual CompilerType GetTypeForDecl(void *opaque_decl) = 0;
480 ConstString DeclGetName(void *opaque_decl) override;482 ConstString DeclGetMangledName(void *opaque_decl) override;484 CompilerDeclContext DeclGetDeclContext(void *opaque_decl) override;486 CompilerType DeclGetFunctionReturnType(void *opaque_decl) override;488 size_t DeclGetFunctionNumArguments(void *opaque_decl) override;490 CompilerType DeclGetFunctionArgumentType(void *opaque_decl,493 CompilerType GetTypeForDecl(void *opaque_decl) override;
1203 CompilerType TypeSystemClang::GetTypeForDecl(void *opaque_decl) { in GetTypeForDecl() argument1204 if (!opaque_decl) in GetTypeForDecl()1207 clang::Decl *decl = static_cast<clang::Decl *>(opaque_decl); in GetTypeForDecl()9157 ConstString TypeSystemClang::DeclGetName(void *opaque_decl) { in DeclGetName() argument9158 if (opaque_decl) { in DeclGetName()9160 llvm::dyn_cast<NamedDecl>((clang::Decl *)opaque_decl); in DeclGetName()9167 ConstString TypeSystemClang::DeclGetMangledName(void *opaque_decl) { in DeclGetMangledName() argument9168 if (opaque_decl) { in DeclGetMangledName()9170 llvm::dyn_cast<clang::NamedDecl>((clang::Decl *)opaque_decl); in DeclGetMangledName()9197 CompilerDeclContext TypeSystemClang::DeclGetDeclContext(void *opaque_decl) { in DeclGetDeclContext() argument[all …]