- May 06, 2013
-
-
Philippe Canal authored
-
Axel Naumann authored
Automatically and centrally detect C++11-mode based on how CIFactory.cpp is compiled; turn on cling's LangOpt.CPlusPlus11 accordingly. No need to rely on ROOT's config flag anymore.
-
Axel Naumann authored
-
- May 03, 2013
-
-
Axel Naumann authored
-
- May 02, 2013
-
-
Olivier Couet authored
-
- Apr 30, 2013
-
-
Axel Naumann authored
Replace all occurrences of strlen(x) == 0 with !x[0] which is far cheaper for long strings.
-
- Apr 26, 2013
-
-
Axel Naumann authored
Simplify some of the patches by reverting some of the changed llvm / clang files to the original ones. git-svn-id: http://root.cern.ch/svn/root/trunk@49363 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 25, 2013
-
-
Vassil Vassilev authored
but typeifo for Class. git-svn-id: http://root.cern.ch/svn/root/trunk@49356 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49345 27541ba8-7e3a-0410-8455-c3a389f83636
-
Vassil Vassilev authored
Please note there is still an issue with the initialization order of the graphic libraries. git-svn-id: http://root.cern.ch/svn/root/trunk@49342 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 24, 2013
-
-
Axel Naumann authored
Parser::Scope versus Sema::DeclContext are now checked for cross-vailidity. Emit the TU-transaction explicitly instead of relying on a first transaction. The typename extraction now takes a stream instead of a string to write to. The llvm::Linker has much reduced functionality; use llvm::sys::Path instead to find dynamic libraries. git-svn-id: http://root.cern.ch/svn/root/trunk@49325 27541ba8-7e3a-0410-8455-c3a389f83636
-
Vassil Vassilev authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49322 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 23, 2013
-
-
Vassil Vassilev authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49295 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 21, 2013
-
-
Philippe Canal authored
Repair support for std::bitset. It has no iterator and we can not access the element by address, so we need to treat it the same way we treat the associative container (cache the input into an array of bool and use the 'feed' function. git-svn-id: http://root.cern.ch/svn/root/trunk@49283 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 18, 2013
-
-
Philippe Canal authored
In TClonesArray::Delete use TClass::Destruct if the contained class is emulated git-svn-id: http://root.cern.ch/svn/root/trunk@49271 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 15, 2013
-
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49238 27541ba8-7e3a-0410-8455-c3a389f83636
-
https://sft.its.cern.ch/jira/browse/ROOT-5050Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49237 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 11, 2013
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49220 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 10, 2013
-
-
Axel Naumann authored
the callbacks must be triggered for those, too. As they are not part of a transaction (think "module") they are now sent to the deserialization listener. This can be removed once the modules work. Set the state of the transaction to Committing before the static init - which might trigger more decls even though CodeGen has been run over the decls. Forward DeclCollector::HandleInterestingDecl() to DeclCollector::HandleTopLevelDecl() for decls from the AST reader / from headers describing libraries. Empty transactions must be passed to TCling; they trigger the sending of deserialized decls to ROOT/Meta. Don't start TCling's artificial TU Transaction if the transaction coming in is empty - we need a decl to get the ASTContext. Swap the deserialized decls before handling them in TCling, such that nested calls don't see the same decls again. git-svn-id: http://root.cern.ch/svn/root/trunk@49197 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
Fixes roottest/root/tree/addresses/execBranchObjSplit0.C CodeGenDecl() doesn't change the Decl. git-svn-id: http://root.cern.ch/svn/root/trunk@49172 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 09, 2013
-
-
Axel Naumann authored
This flag will be used by the DeclCollector in a subsequent commit. Improve performance of HandleNewDecl by testing easy and common things first. git-svn-id: http://root.cern.ch/svn/root/trunk@49150 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 08, 2013
-
-
Fons Rademakers authored
Implement r48895 in cmake as well. git-svn-id: http://root.cern.ch/svn/root/trunk@49127 27541ba8-7e3a-0410-8455-c3a389f83636
-
Fons Rademakers authored
Add the following 'merge' modes: 'M' final value will be the maximum 'm' final value will be the minimum 'f' final value will be the first encountered 'l' final value will be the last encountered Defined also a new bit 'kIsConst' which is set if all the 'merged' values are found to be the same; a new method 'Bool_t IsConst() const' is provided to quickly test constancy. Should provide a solution for the requirements raised in Savannah bug #95957 and Savannah patch #5550. git-svn-id: http://root.cern.ch/svn/root/trunk@49117 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 06, 2013
-
-
Axel Naumann authored
Make sure this thing actually *has* a name. This file has a using directive for clang, use the using directive! git-svn-id: http://root.cern.ch/svn/root/trunk@49111 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 05, 2013
-
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49104 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
Combine all code into one string, then *parse* that: no need to declare for modules as CodeGen must not be run, else we will have duplicate static symbols, in the library and codegened by declare(). Complain even if the method count differs between cling and meta. Steal the collection of modified classes from TCling to avoid recursive changes to it. Correct the flag "new declaration is from AST file". git-svn-id: http://root.cern.ch/svn/root/trunk@49102 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49100 27541ba8-7e3a-0410-8455-c3a389f83636
-
Axel Naumann authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49098 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
In AbsorbObjects delete the existing memory allocations (Fixes https://savannah.cern.ch/bugs/?101099) git-svn-id: http://root.cern.ch/svn/root/trunk@49093 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 03, 2013
-
-
Vassil Vassilev authored
The issue is that sometimes we don't have a begun transaction. This can happen mostly in cases when the code doesn't come from text representation but: * From lookup, where template is being instantiated * From a PCH/PCM, where a decl was deserialized. This patch solves the first case: When we do findScope we have to instantiate the declaration if needed. Every time there is a chance that generated code's declarations can be orphaned, we have to explicitly push a transaction so that we can keep the integrity. git-svn-id: http://root.cern.ch/svn/root/trunk@49070 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 02, 2013
-
-
Olivier Couet authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49065 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Apr 01, 2013
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49057 27541ba8-7e3a-0410-8455-c3a389f83636
-
- Mar 31, 2013
-
-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@49053 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Implement the implicit rule for matching pair (based on being able to convert their content git-svn-id: http://root.cern.ch/svn/root/trunk@49050 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
std::pair also have implicit rules, so always craete a SchemaRuleSet git-svn-id: http://root.cern.ch/svn/root/trunk@49049 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Allow the implicit conversion from any type of numerical STL collection to any other type of numerical STL collection (e.g. vector<int> to list<float>) git-svn-id: http://root.cern.ch/svn/root/trunk@49044 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Remove use of data member fOnFileClass as much as possible (improve thread safety). Improve const-correctness git-svn-id: http://root.cern.ch/svn/root/trunk@49041 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
Better support for conversion of unversioned classes git-svn-id: http://root.cern.ch/svn/root/trunk@49035 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
In GetConversionStreamerInfo, make sure that we find always find at least one StreamerInfo for an stl collection git-svn-id: http://root.cern.ch/svn/root/trunk@49028 27541ba8-7e3a-0410-8455-c3a389f83636
-
Philippe Canal authored
A TClassRef must be changed by operator= even if its ClassPtr has not yet been initialized! git-svn-id: http://root.cern.ch/svn/root/trunk@49027 27541ba8-7e3a-0410-8455-c3a389f83636
-