1258 Commits

Author SHA1 Message Date
Axel Naumann
b0fe13d878 Test lifetime handling of StoredValue. 2013-12-11 12:14:52 +01:00
Vassil Vassilev
3751cef9a9 Test canonical specialization removal. 2013-12-11 11:33:13 +01:00
Vassil Vassilev
a515de40b8 Add clarification comment. 2013-12-11 11:33:12 +01:00
Vassil Vassilev
1407c9eae9 Add protection. We must try to remove only the canonical specializations. 2013-12-11 11:33:12 +01:00
Vassil Vassilev
5715c2fa3c Fix doxygen warning and make the function private. 2013-12-11 11:33:12 +01:00
Vassil Vassilev
e7d38d8ef7 Remove 'properly' the function template specializations. 2013-12-10 11:37:52 +01:00
Axel Naumann
db85c2e6e5 Avoid object-to-function-cast warning. 2013-12-10 11:18:56 +01:00
Axel Naumann
eb5b582b46 Syntax; ensure it is a named decl.
(cherry picked from commit 123c1b59beead41023c740b9cf954f1aa80c6b9e)
2013-12-10 10:34:12 +01:00
Axel Naumann
e933e0e615 Use Interpreter::compileFunction().
(cherry picked from commit 6932eef6a1f964a34c37323e941ad495d055f9a0)
2013-12-10 10:34:12 +01:00
Axel Naumann
9d705927ce The destructor is called N::A<B>::~A
(cherry picked from commit cff42b4aa92f076e2459b8913f7d7cdf24b3f043)
2013-12-10 10:34:12 +01:00
Axel Naumann
09fd4c14a6 Use TypeName::GetFullyQualifiedName; no dtor on const.
(cherry picked from commit 1489235e30f296607acabe8b2ffb2b6923639d3b)
2013-12-10 10:34:11 +01:00
Axel Naumann
c1c49658e2 Adjust sizeof(m_Buf) now that we have a new member. Re-order to avoid padding.
(cherry picked from commit d5508a3c3b963928270933f307dab97a2d1630bf)
2013-12-10 10:34:11 +01:00
Axel Naumann
2cefd7e994 Adapt to StoredValueRef interface change.
(cherry picked from commit b5d991d9a06b604fc7a9edcf9bff96d2899b8655)
2013-12-10 10:34:10 +01:00
Axel Naumann
7dffdfc1bd Destruct the Value. Needs Interpreter and thus interface adjustments.
(cherry picked from commit da54d73c5cb6dedc9159f52467f016493ec25338)
2013-12-10 10:34:10 +01:00
Axel Naumann
490f9084d3 Add test for Interpreter::compileFunction(). 2013-12-09 16:35:01 +01:00
Axel Naumann
4dde17ab8e Functions are extern "C".
(cherry picked from commit c7caadda0902a0b5cf7194c584ffd3cc328827a1)
2013-12-06 15:36:00 +01:00
Axel Naumann
b4dea2cde6 Interpreter::compileFunction(): compile this function and give me its address.
(cherry picked from commit 04de3a90cddb2718dc263ee104854b5395bfd869)
2013-12-06 15:36:00 +01:00
Axel Naumann
ee2977ce79 Wrap a recurring question into an interface: getPointerToGlobalFromJIT().
(cherry picked from commit 0b7973cecb915abd7e0add8b907cec6784a30313)
2013-12-06 15:36:00 +01:00
Vassil Vassilev
8247202478 Update the clang PP diff. 2013-12-06 12:09:59 +01:00
Vassil Vassilev
19dcbb39fa Properly update the template instantiation lists. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
57cf06542b Remove redundant code. This is checked explicitly by store/compare state. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
36fd6f024d Iterate over the decls in reverse order. Shouldn't matter for codegen. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
a2d43eb499 Build all lookup tables on printing, even if they were unused. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
2f196c4ac4 Print out the diff command on found differences. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
50a1acade4 Make members local, so that they will close and flush earlier. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
e054a8126b Test enum constant cleanup. 2013-12-06 12:03:34 +01:00
Vassil Vassilev
899053b426 Improve style. 2013-12-06 12:03:33 +01:00
Vassil Vassilev
67aedc553b Cleanup the lookup tables of the first non-transparent parent of an enum constant. 2013-12-06 12:03:33 +01:00
Vassil Vassilev
b41a282ae6 Add error recovery and unloading tests. 2013-12-06 12:03:33 +01:00
Vassil Vassilev
51d27bf1e5 Improve uncaching of unloaded files.
*Merge PreVisitDecl and PreVisitMacro and rename to CollectFilesToUncache.
*Add FID to the transaction storing the memory buffer file ID caused the
transaction.
2013-12-06 12:03:33 +01:00
Vassil Vassilev
384196310c Improve style. 2013-12-06 12:03:32 +01:00
Vassil Vassilev
ca3fbf2d8e Add --text to diff not only text files and treat all files as text. 2013-12-06 12:03:32 +01:00
Vassil Vassilev
46561830a0 Print all macros instead one by one. 2013-12-06 12:03:32 +01:00
Vassil Vassilev
af0971ae0c Fix iterators. 2013-12-05 21:03:54 +01:00
Axel Naumann
7f02f830c9 80col, spaces. 2013-12-05 16:27:01 +01:00
Axel Naumann
a1e922c839 Remove stray ; 2013-12-04 20:37:59 +01:00
Axel Naumann
0eb9ac042f Make full qualification an option.
Allows GetPartiallyDesugaredType() and GetFullyQualifiedName() to share functionality.
2013-12-04 19:09:59 +01:00
Axel Naumann
97987030f5 Move several TypeName functions from MetaUtils to cling/Utils.
They were once identical but then got bug fixed out of sync.
Moved routines:

GetFullyQualifiedLocalType()
GetFullyQualifiedType()
CreateNestedNameSpecifier()
CreateNestedNameSpecifierForScopeOf()
GetFullyQualifiedTypeNNS()
2013-12-04 19:09:59 +01:00
Bertrand Bellenot
c2e1c33726 Make ROOT working on cygwin again
Check for correct library files format on cygwin (fix loading libraries issue)
2013-12-04 16:01:04 +01:00
Bertrand Bellenot
96ed0c5f54 Implement several missing functions (for Windows) in DynamicLibraryManager and fix a couple of compilation errors on Windows 2013-12-04 11:03:08 +01:00
Bertrand Bellenot
90b6fa02dd Revert commit f3f6ca0fa133e2a09ec38af455624af6a5c9521d (changes will be made in root instead) 2013-12-04 10:56:24 +01:00
Axel Naumann
63e094c197 Do not diagnose lookup problems in lookup() interfaces. 2013-12-02 14:21:08 +01:00
Axel Naumann
67f5e5bf64 Add option to disable rollback. Handle missing ExecEngine. 2013-12-02 13:53:30 +01:00
Axel Naumann
7106f6546d Protect against Null type. 2013-12-02 13:53:30 +01:00
Bertrand Bellenot
f3f6ca0fa1 Implement several missing functions (for Windows) in DynamicLibraryManager and fix a couple of compilation errors on Windows 2013-11-29 11:04:07 +01:00
Vassil Vassilev
bf98f9426c Move the execution engine cleanup upfront.
The EE cleanup needs to mangle the name in order to clean it up from the module.
The mangler iterates over the redecl chain, which is a problem because if we
exclude the decl from the redecl chain first we end up in infinite loop.
2013-11-27 15:46:59 +01:00
Vassil Vassilev
e1f1007e10 Remove the reset of the expelled decl. 2013-11-27 15:46:59 +01:00
Vassil Vassilev
26290c9b4c On teardown we delete the transactions in the pool, too. 2013-11-27 15:46:59 +01:00
Vassil Vassilev
3242fa7d30 When we unload we have to cleanup the containers. 2013-11-27 15:46:59 +01:00
Vassil Vassilev
846058e9c0 Nested transactions can be in rolled back state when deleting. 2013-11-27 15:46:59 +01:00