[Lldb-commits] [lldb] r274488 - Fix ClangASTContext after some clang API changes
Tamas Berghammer via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 4 02:11:08 PDT 2016
Author: tberghammer
Date: Mon Jul 4 04:11:08 2016
New Revision: 274488
URL: http://llvm.org/viewvc/llvm-project?rev=274488&view=rev
Log:
Fix ClangASTContext after some clang API changes
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=274488&r1=274487&r2=274488&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Mon Jul 4 04:11:08 2016
@@ -1402,9 +1402,7 @@ ClangASTContext::CreateFunctionTemplateS
clang::FunctionTemplateDecl *func_tmpl_decl,
const TemplateParameterInfos &infos)
{
- TemplateArgumentList template_args (TemplateArgumentList::OnStack,
- infos.args.data(),
- infos.args.size());
+ TemplateArgumentList template_args (TemplateArgumentList::OnStack, infos.args);
func_decl->setFunctionTemplateSpecialization (func_tmpl_decl,
&template_args,
@@ -1502,8 +1500,7 @@ ClangASTContext::CreateClassTemplateSpec
SourceLocation(),
SourceLocation(),
class_template_decl,
- &template_param_infos.args.front(),
- template_param_infos.args.size(),
+ template_param_infos.args,
nullptr);
class_template_specialization_decl->setSpecializationKind(TSK_ExplicitSpecialization);
More information about the lldb-commits
mailing list