Add special folder in patches - ToT (Top of Tree) for LLVM. There will go the
patches, which make cling to work with llvm's trunk, before our vendor drop gets in sync. EC picks the patches from there only for our nightlies. git-svn-id: http://root.cern.ch/svn/root/trunk@46211 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
9cc45252ae
commit
be94fde062
26
patches/ToT/llvm_r164692.diff
Normal file
26
patches/ToT/llvm_r164692.diff
Normal file
@ -0,0 +1,26 @@
|
||||
Index: tools/cling/lib/Interpreter/LookupHelper.cpp
|
||||
===================================================================
|
||||
--- tools/cling/lib/Interpreter/LookupHelper.cpp (revision 46197)
|
||||
+++ tools/cling/lib/Interpreter/LookupHelper.cpp (working copy)
|
||||
@@ -617,7 +617,7 @@
|
||||
// Do template argument deduction and function argument matching.
|
||||
//
|
||||
FunctionDecl* Specialization;
|
||||
- sema::TemplateDeductionInfo TDI(Context, SourceLocation());
|
||||
+ sema::TemplateDeductionInfo TDI( (SourceLocation()) );
|
||||
Sema::TemplateDeductionResult TDR
|
||||
= S.DeduceTemplateArguments(FTD,
|
||||
const_cast<TemplateArgumentListInfo*>(FuncTemplateArgs),
|
||||
Index: tools/cling/lib/Interpreter/InvocationOptions.cpp
|
||||
===================================================================
|
||||
--- tools/cling/lib/Interpreter/InvocationOptions.cpp (revision 46197)
|
||||
+++ tools/cling/lib/Interpreter/InvocationOptions.cpp (working copy)
|
||||
@@ -25,7 +25,7 @@
|
||||
static const OptTable::Info ClingInfoTable[] = {
|
||||
#define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \
|
||||
HELPTEXT, METAVAR) \
|
||||
- { NAME, HELPTEXT, METAVAR, Option::KIND##Class, FLAGS, PARAM, \
|
||||
+ { NAME, HELPTEXT, METAVAR, OPT_##ID, Option::KIND##Class, FLAGS, PARAM, \
|
||||
OPT_##GROUP, OPT_##ALIAS },
|
||||
#include "cling/Interpreter/ClingOptions.inc"
|
||||
#undef OPTION
|
Loading…
Reference in New Issue
Block a user