File tree Expand file tree Collapse file tree 4 files changed +420
-405
lines changed Expand file tree Collapse file tree 4 files changed +420
-405
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,12 @@ class Type;
3131
3232namespace swift {
3333
34+ class ConcreteDeclRef ;
3435class Decl ;
3536class DeclContext ;
3637class EffectiveClangContext ;
3738class SwiftLookupTable ;
39+ class ValueDecl ;
3840class VisibleDeclConsumer ;
3941
4042// / Represents the different namespaces for types in C.
@@ -201,6 +203,10 @@ class ClangModuleLoader : public ModuleLoader {
201203 instantiateCXXClassTemplate (clang::ClassTemplateDecl *decl,
202204 ArrayRef<clang::TemplateArgument> arguments) = 0 ;
203205
206+ virtual ConcreteDeclRef
207+ getCXXFunctionTemplateSpecialization (SubstitutionMap subst,
208+ ValueDecl *decl) = 0 ;
209+
204210 // / Try to parse the string as a Clang function type.
205211 // /
206212 // / Returns null if there was a parsing failure.
Original file line number Diff line number Diff line change @@ -61,17 +61,20 @@ class CompilerInvocation;
6161class ClangImporterOptions ;
6262class ClangModuleUnit ;
6363class ClangNode ;
64+ class ConcreteDeclRef ;
6465class Decl ;
6566class DeclContext ;
6667class EffectiveClangContext ;
6768class EnumDecl ;
69+ class FuncDecl ;
6870class ImportDecl ;
6971class IRGenOptions ;
7072class ModuleDecl ;
7173class NominalTypeDecl ;
7274class StructDecl ;
7375class SwiftLookupTable ;
7476class TypeDecl ;
77+ class ValueDecl ;
7578class VisibleDeclConsumer ;
7679enum class SelectorSplitKind ;
7780
@@ -261,6 +264,9 @@ class ClangImporter final : public ClangModuleLoader {
261264 instantiateCXXClassTemplate (clang::ClassTemplateDecl *decl,
262265 ArrayRef<clang::TemplateArgument> arguments) override ;
263266
267+ ConcreteDeclRef getCXXFunctionTemplateSpecialization (
268+ SubstitutionMap subst, ValueDecl *decl) override ;
269+
264270 // / Just like Decl::getClangNode() except we look through to the 'Code'
265271 // / enum of an error wrapper struct.
266272 ClangNode getEffectiveClangNode (const Decl *decl) const ;
You can’t perform that action at this time.
0 commit comments