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(
|
||||
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) {
|
||||
ASTContext &ast = getASTContext();
|
||||
|
||||
|
|
|
@ -343,11 +343,10 @@ public:
|
|||
clang::FunctionDecl *func_decl, clang::FunctionTemplateDecl *Template,
|
||||
const TemplateParameterInfos &infos);
|
||||
|
||||
clang::ClassTemplateDecl *
|
||||
CreateClassTemplateDecl(clang::DeclContext *decl_ctx,
|
||||
OptionalClangModuleID owning_module,
|
||||
lldb::AccessType access_type, const char *class_name,
|
||||
int kind, const TemplateParameterInfos &infos);
|
||||
clang::ClassTemplateDecl *CreateClassTemplateDecl(
|
||||
clang::DeclContext *decl_ctx, OptionalClangModuleID owning_module,
|
||||
lldb::AccessType access_type, llvm::StringRef class_name, int kind,
|
||||
const TemplateParameterInfos &infos);
|
||||
|
||||
clang::TemplateTemplateParmDecl *
|
||||
CreateTemplateTemplateParmDecl(const char *template_name);
|
||||
|
|
Loading…
Reference in New Issue