Commit Graph

1489 Commits

Author SHA1 Message Date
Bertrand Bellenot
bf14b93185 Suppress MSVC warning C4530: C++ exception handler used, but unwind semantics are not enabled 2014-02-21 10:52:58 +01:00
Vassil Vassilev
6d076644e6 No svnversion anymore. Use something similar. 2014-02-21 10:47:04 +01:00
Vassil Vassilev
599cbea24f Add Usage info. 2014-02-21 10:41:03 +01:00
Vassil Vassilev
2cbe319c77 Use Consistent naming. 2014-02-21 10:41:03 +01:00
Vassil Vassilev
308023f6bd Refresh the README. 2014-02-21 10:41:03 +01:00
Vassil Vassilev
fe98663520 Rename var clashing with the param 2014-02-21 09:33:02 +01:00
Pere Mato
fca52f08e2 Adapt -fno-rtti compiler option for MSVC 2014-02-20 22:01:57 +01:00
Axel Naumann
9ef996db19 Keep -I unique: no need to add it if it already exists. 2014-02-20 18:05:58 +01:00
Axel Naumann
a7c08683ae Decl iteration can trigger deserialization; use PushTransactionRAII. 2014-02-20 17:12:58 +01:00
Vassil Vassilev
c92a68efc4 Implement cling::Transaction unique id. 2014-02-20 15:16:59 +01:00
Vassil Vassilev
340461a57a Trailing blanks 2014-02-20 15:16:59 +01:00
Axel Naumann
efb09a4d77 Fix doxygen. 2014-02-20 15:16:58 +01:00
Vassil Vassilev
398e97eb40 If the value is not set (due to errors in the runtime evaluation), return default. 2014-02-20 14:43:05 +01:00
Vassil Vassilev
c992cf3047 Implement reloading on .L
We keep the FileEntry -> Transaction mapping so that next time there is .L
we can figure out that it was already loaded and unload it and reload it again.
2014-02-20 10:36:10 +01:00
Vassil Vassilev
db34098f9e 80cols. 2014-02-20 10:36:10 +01:00
Vassil Vassilev
a25c6b5ce5 Blanks. 2014-02-20 10:36:09 +01:00
Vassil Vassilev
1a59a8b87a Blanks. 2014-02-20 10:36:08 +01:00
Pere Mato
cbc74114a1 First bunch of changes to fix the CMake build of the new llvm/cling version 2014-02-19 18:58:02 +01:00
Bertrand Bellenot
3dce92b1e2 Make sure the /EHsc flag is properly set 2014-02-19 17:43:59 +01:00
Axel Naumann
9c73790d79 Test decl extraction of const enum.
And uncover a new bug: k2 is not visible, now ROOT-6095.
2014-02-19 15:59:01 +01:00
Axel Naumann
705ddaea64 Mark all extracted decls used.
Fixes
.rawInput 1
enum E {one, two};
.rawInput 0
const E var = one;
2014-02-19 15:59:01 +01:00
Axel Naumann
efa8f37cd4 long double has "L" suffix. 2014-02-19 15:34:56 +01:00
Vassil Vassilev
02a9f05fe0 Follow the change ExecutionContext -> IncrementalExecutor. 2014-02-19 15:01:03 +01:00
Vassil Vassilev
9481d37d5b Use the new signature. 2014-02-19 15:01:03 +01:00
Vassil Vassilev
9e1bfae897 Simplify. 2014-02-19 15:01:03 +01:00
Bertrand Bellenot
c70ddac80a Silent compilation warnings on Windows 2014-02-19 14:55:00 +01:00
Axel Naumann
c78aa3b7fb Test value printing of a long double. 2014-02-19 14:55:00 +01:00
Axel Naumann
c8e2740861 Implement value printing of a long double. 2014-02-19 14:55:00 +01:00
Axel Naumann
b27e430c89 Implement setValueNoAlloc() for long double. 2014-02-19 14:55:00 +01:00
Axel Naumann
6b3e713217 Test evaluation of long double. 2014-02-19 14:55:00 +01:00
Bertrand Bellenot
2927b40462 Add /EHsc exception handling compiler flag for MSVC 2014-02-19 14:32:57 +01:00
Vassil Vassilev
e92088a41e If RHS is dependent - skip value extraction. Add a testcase for auto vars. 2014-02-19 14:22:58 +01:00
Axel Naumann
2a58b82ebe Update tests to new interfaces. 2014-02-19 12:55:00 +01:00
Vassil Vassilev
2309fc097e Rename ExecutionContext -> IncrementalExecutor 2014-02-19 12:55:00 +01:00
Vassil Vassilev
4c8ca2b50b More merge fixups. 2014-02-19 12:55:00 +01:00
Vassil Vassilev
59c0989087 Remove leftovers from merge 2014-02-19 12:55:00 +01:00
Vassil Vassilev
72a089652f Remove llvm::Type from the cling::Value 2014-02-19 12:54:59 +01:00
Vassil Vassilev
5120e219d5 Remove more redundant code 2014-02-19 12:54:59 +01:00
Axel Naumann
8b151c893e Remove now unused Interpreter::getLLVMType(). 2014-02-19 10:53:58 +01:00
Axel Naumann
71cadd6ad2 Remove remaining traces of llvm::Type from cling::Value. 2014-02-19 10:53:58 +01:00
Vassil Vassilev
ca4fd9eb3a Improve encapsulation. Move ValueExtractionSynthesizer specifics to its implementation. Get rid of references to the interpreter class in the ExecutionContext. 2014-02-19 10:43:00 +01:00
Vassil Vassilev
1598872fce Second try to silence warning cast from pointer-to-object to pointer-to-function. 2014-02-19 10:18:03 +01:00
Axel Naumann
789648df2d Add switch for lookup diags; enable it for gDebug>5 (ROOT-6070, ROOT-6044).
Use enum to avoid ambiguities between consecutive bollean args.
Use less default args to avoid Type* -> bool conversion.
2014-02-19 08:39:58 +01:00
Vassil Vassilev
77ae505186 Silence 'cast between pointer-to-function and pointer-to-object' 2014-02-18 18:35:01 +01:00
Vassil Vassilev
9ba4c591c6 Update cmake. 2014-02-18 18:19:09 +01:00
Vassil Vassilev
6435fb8ad1 Remove unused var. 2014-02-18 18:19:07 +01:00
Vassil Vassilev
19c381562d Update all references of ReturnSynthesizer. 2014-02-18 17:22:59 +01:00
Vassil Vassilev
ca5db8bcce Use a bit better (more descriptive) name. 2014-02-18 17:22:59 +01:00
Vassil Vassilev
4a62769b38 Return early in case of empty wrappers for example. 2014-02-18 17:22:59 +01:00
Vassil Vassilev
9749af417c The test should be run on 32 bit finally. 2014-02-18 17:22:59 +01:00