3845 Commits

Author SHA1 Message Date
Axel Naumann
93869de6c7 Test ROOT-7016. 2017-05-05 12:14:05 +02:00
Axel Naumann
b7b1b9ced0 Copy int[12][13]* through int* (ROOT-7016). 2017-05-05 12:14:05 +02:00
Axel Naumann
871b304f8c Assemble array dimensions recursively (ROOT-7016). 2017-05-05 12:14:05 +02:00
Sebastian Uhl
6296dd2bc4 Re-enable C++14 for GCC 4.9 in Interpretator
GCC 4.9 only defines '__cplusplus' to the value 201300L and not to
201402L as expected for C++14. This makes the check for the available
C++ standards in the interpreter fail to enable C++14 (which in turn
means that ROOT cannot be compiled with GCC 4.9 if C++14 was enabled in
Cmake). Similarly, for C++17 apart from the proper value 201703L other
values seems to be floating around (e.g. 201406L as defined by the
version of LLVM included with ROOT). The requirement for '__cplusplus_'
to enable certain C++ standards in the interpreter is made less strict
and just needs to be larger than the previous final value.

This basically reinstates commit
0a62e34aa86b812651cfcf9526ba03b975adaa5c which was undone by commit
702298d9ad83866d0be62f0422c03ac8ea6687f1.
2017-05-04 15:59:08 +02:00
Axel Naumann
35915644ad With the fix for llvm bug 19668: enable inlining also for GCC! 2017-05-04 10:14:19 +02:00
David Abdurachmanov
68d860707b Enable C++17 (C++1z) in Interpreter
This is a must if everything else is compiled in C++17 mode. Not having
C++17 enabled within Interpreter caused errors in CMSSW.

Signed-off-by: David Abdurachmanov <davidlt@cern.ch>
2017-05-03 18:59:45 +02:00
Raphael Isemann
b2ed65dbbf Remove unimplemented shouldIgnore from IncrementalParser. (#545)
The function implementation was moved to a static function in
the DeclCollector in commit 858120920f51a3ea8f689d19f2a2fa1cc3981eb1
about 'Emit Decls as DeclCollector sees them'.
2017-05-03 11:44:18 +02:00
Axel Naumann
b9dbe1614f Update notebook, esp the kernelspec name. 2017-05-02 11:59:10 +02:00
Axel Naumann
8e2700d753 Fix ZMQ issues with threading:
run all ZMQ send()s from the main thread; run cling in a sub-thread.
2017-05-02 11:59:10 +02:00
Axel Naumann
2f13d674eb Do not echo expression results; kernel handles it. 2017-05-02 11:59:10 +02:00
Axel Naumann
675a67e57f Offer non-echoing process(). 2017-05-02 11:59:10 +02:00
Axel Naumann
97ec4b8e8a Add doc on the sideband mechanism. 2017-05-02 11:59:09 +02:00
Axel Naumann
fba944ebf7 Fix noexcept for __cxa_atexit. 2017-04-29 15:14:09 +02:00
Axel Naumann
795adc43e1 Point to authoritative repos; fixes cling builds with cpt. 2017-04-28 18:59:24 +02:00
Axel Naumann
a2cc4528e6 Update location of Jupyter kernel. 2017-04-28 18:59:24 +02:00
Axel Naumann
909ce12929 Revert "Remove unused members of MetaProcessor in Release."
This reverts commit e7833174c491bb49a76739306f9f5108357ac149.
It causes problems if library clients have incompatible NDEBUG settings.
2017-04-27 08:14:47 +02:00
Santiago Castro
1b831f04f6 Fix broken Markdown headings
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2017-04-17 20:29:34 +02:00
Axel Naumann
52d32de70c Add tests for #pragma cling optimize and .O 2017-04-12 15:44:35 +02:00
Axel Naumann
86b3cfb1c4 Implement #pragma cling optimize(N) to set the opt level. 2017-04-12 15:44:35 +02:00
Axel Naumann
ebc4857766 Teach the pragma parser to parse non-string literals. 2017-04-12 15:44:35 +02:00
Axel Naumann
c30a28221c Implement .O and .O <N> to set the opt level. 2017-04-12 15:44:35 +02:00
Axel Naumann
98b07031df Use CompOpt from outer Transaction instead of default constructed. 2017-04-12 15:44:35 +02:00
Axel Naumann
711a136562 Add and use Interpreter::makeDefaultCompilationOpts(). 2017-04-12 15:44:35 +02:00
Axel Naumann
a5db95b81b Add the OptLevel to be used for new Transactions. 2017-04-12 15:44:35 +02:00
Axel Naumann
52100eb2f1 Pass OptLevel to addModule. 2017-04-12 15:44:35 +02:00
Axel Naumann
66b8d8535a Keep one PassManager per opt level; runOnModule now takes an OptLevel.
Also inform the TargetMachine of the OptLevel to be used; this will be
picked up by OrcJIT's SimpleCompiler when constructing the MC passes.
2017-04-12 15:44:35 +02:00
Axel Naumann
ed657b99d8 Add optimization level to CompilationOptions. 2017-04-12 15:44:35 +02:00
Axel Naumann
f994d2652d Force NormalInlining only for GCC. 2017-04-12 15:44:34 +02:00
Axel Naumann
f64d5472b3 Remove use of non-const CodeGenOpts. 2017-04-12 15:44:34 +02:00
Philippe Canal
e173a95fc1 With module (or pcm) even trivial lookup can lead to deserialization and thus need a transaction 2017-04-11 23:00:40 +02:00
Axel Naumann
bb9a8a9fc2 Format typos. 2017-04-09 13:44:05 +02:00
Ajith Pandel
16846d2640 Fix Travis build status badge 2017-04-08 12:44:07 +02:00
Philippe Canal
f5c7037763 Fix ROOT-8739: Lookup of symbol inside of namespace shadowed by function (in another 'used' namespace).
This was happening when a namespace had the same as the function in a namespace that was 'used'.  Namely,
in the issue report it was the 'next' namespace and the function std::next.

This required the quick search function in LookupHelper.cxx to properly handle the return value of utils::Lookup::Named.
2017-04-07 21:14:06 +02:00
Philippe Canal
3a1db539f6 Revert "Fix ROOT-8739: Lookup of symbol inside of namespace shadowed by function (in another 'used' namespace)."
This reverts commit 0728f30ead6c1cca74bf31b93dc9a1cb616a3e35.
2017-04-07 20:44:04 +02:00
Philippe Canal
68283cac47 Fix ROOT-8739: Lookup of symbol inside of namespace shadowed by function (in another 'used' namespace).
This was happening when a namespace had the same as the function in a namespace that was 'used'.  Namely,
in the issue report it was the 'next' namespace and the function std::next.

This required the quick search function in LookupHelper.cxx to properly handle the return value of utils::Lookup::Named.
2017-04-07 20:29:17 +02:00
Axel Naumann
7a083b672a Update doc to follow change in kernel name - thanks, Steven R. Brandt! 2017-04-07 08:44:08 +02:00
Vassil Vassilev
07065b3fff Teach cpt how to handle --create-dev-env Release option. 2017-04-06 19:59:23 +02:00
Axel Naumann
af310ace1d Reflect changed Github repo name. 2017-04-05 11:44:05 +02:00
Axel Naumann
e171a2c54f Update repo name; comment "private" AppVeyor of Vassil. 2017-04-05 11:44:05 +02:00
Axel Naumann
fcfb52913c Whitespace. 2017-04-04 15:14:06 +02:00
Axel Naumann
b266e2e5fc Implement first ".trace" command. From Viktor Khristenko! 2017-04-04 15:14:05 +02:00
Axel Naumann
a811723cec Missing member init (thanks, Valgrind!). 2017-04-04 11:14:05 +02:00
Axel Naumann
a52133126d Also handle GlobalVariables. Fixes Recursion/RecursiveClingInstances.C. 2017-04-03 15:44:38 +02:00
Axel Naumann
853aa86a45 Remove stray semicolon (nfc). 2017-03-31 16:44:04 +02:00
Axel Naumann
91f23f3d4a Only reset error count if there was no error before! 2017-03-31 16:14:27 +02:00
Frederich Munch
fa6d32fe73 Pass mangled name to CodeGenerator::forgetDecl. From Roman Zulak and me.
Ignore mangling errors on Windows; fixes -Xclang -verify on Windows.
2017-03-31 16:14:27 +02:00
Frederich Munch
0d42a482e0 Add test of function level static variables. 2017-03-31 10:29:22 +02:00
Axel Naumann
c85f9a2c57 Do not mark decls used, just to prevent unloading!
This has the side effect that many symbols will need to be emitted.
It's much cheaper to not DeclUnload these decls instead.
2017-03-31 10:29:22 +02:00
Axel Naumann
7dc6a1be42 Definitions of static functions must be visible across Transactions.
Otherwise, subsequent calls cannot use them: they cannot resolve the symbol.
This is a side-effect of our never-ending translation unit versus intermediary
end-of-translation unit actions.
2017-03-31 10:29:22 +02:00
Axel Naumann
728c296cb0 Style. 2017-03-28 13:59:30 +02:00