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:
Vassil Vassilev 2012-09-27 08:55:41 +00:00
parent 9cc45252ae
commit be94fde062

View 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