forked from OSchip/llvm-project
[lldb][NFC] StringRef-ify name param in CreateClassTemplateDecl
This commit is contained in:
parent
a763d0010c
commit
f6b7bcc64a
|
@ -1543,7 +1543,7 @@ static bool ClassTemplateAllowsToInstantiationArgs(
|
||||||
|
|
||||||
ClassTemplateDecl *TypeSystemClang::CreateClassTemplateDecl(
|
ClassTemplateDecl *TypeSystemClang::CreateClassTemplateDecl(
|
||||||
DeclContext *decl_ctx, OptionalClangModuleID owning_module,
|
DeclContext *decl_ctx, OptionalClangModuleID owning_module,
|
||||||
lldb::AccessType access_type, const char *class_name, int kind,
|
lldb::AccessType access_type, llvm::StringRef class_name, int kind,
|
||||||
const TemplateParameterInfos &template_param_infos) {
|
const TemplateParameterInfos &template_param_infos) {
|
||||||
ASTContext &ast = getASTContext();
|
ASTContext &ast = getASTContext();
|
||||||
|
|
||||||
|
|
|
@ -343,11 +343,10 @@ public:
|
||||||
clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template,
|
clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template,
|
||||||
const TemplateParameterInfos &infos);
|
const TemplateParameterInfos &infos);
|
||||||
|
|
||||||
clang::ClassTemplateDecl *
|
clang::ClassTemplateDecl *CreateClassTemplateDecl(
|
||||||
CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
|
clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
|
||||||
OptionalClangModuleID owning_module,
|
lldb::AccessType access_type, llvm::StringRef class_name, int kind,
|
||||||
lldb::AccessType access_type, const char *class_name,
|
const TemplateParameterInfos &infos);
|
||||||
int kind, const TemplateParameterInfos &infos);
|
|
||||||
|
|
||||||
clang::TemplateTemplateParmDecl *
|
clang::TemplateTemplateParmDecl *
|
||||||
CreateTemplateTemplateParmDecl(const char *template_name);
|
CreateTemplateTemplateParmDecl(const char *template_name);
|
||||||
|
|
Loading…
Reference in New Issue