Commit Graph

1824 Commits

Author SHA1 Message Date
d03d24bb23 Add support for .@ to cancel continuation 2014-05-29 17:04:59 +02:00
b91c987027 Fix value printing for functions. Needs test! 2014-05-28 18:09:57 +02:00
e173faa960 If we don't have the information about the type of the RHS report an and exit. 2014-05-28 12:11:57 +02:00
a9ad9a8c02 Wrap using decl/def that are followed by code (ROOT-6153). 2014-05-27 12:17:12 +02:00
5d4115482f Value extraction: not a record decl we have copy ctor by default. 2014-05-26 18:30:58 +02:00
832390bc7b Correct line alignment. 2014-05-26 18:30:58 +02:00
980133d65e Value extraction setting void types.
In the case the type is void we have to reset the maybe different object type pushed on the stack before the assesment of the desugared type.
2014-05-26 18:30:57 +02:00
d85eba73ee Default cling::Value set to invalid.
The cling::Value is initialized to be invalid then the value extraction changes it or not. If we do not have an available copy constructor for objects the value stays invalid.
2014-05-26 18:30:57 +02:00
e41ba01959 ValueExtractionSynthesizer: check for the existance and accessibility of copy constructor. (ROOT-6185). 2014-05-26 18:30:56 +02:00
39ed28c03e Void has no address. 2014-05-26 17:37:57 +02:00
6e9cd68cb2 Construct a library call example. The full reflection-based call still to come. 2014-05-23 12:36:01 +02:00
6d8b154f7f Fix broken by constrution test. 2014-05-23 12:36:01 +02:00
73752eff5e Bring to more up-to-date an xfailure. 2014-05-23 12:36:01 +02:00
ec31eb9db8 Test value printing of template constructs 2014-05-22 11:13:55 +02:00
ee9fc709ab We don't need the ValuePrinter.h 2014-05-21 18:11:58 +02:00
d03ba0fb9f Reduce cling's runtime overhead. 2014-05-21 18:11:58 +02:00
b563268f19 Typo. 2014-05-21 18:11:58 +02:00
b855d1111c Use proper indents. 2014-05-21 18:11:58 +02:00
e1c16dec1b Move the documentation at the accurate place. 2014-05-21 18:11:58 +02:00
0d05ab5145 Remove unused function. 2014-05-21 18:11:57 +02:00
2b34bf819e Update cling test using .help to match the new help format 2014-05-21 17:18:57 +02:00
168a59dbf9 Try to print the fully qualified name if possible. 2014-05-21 15:39:55 +02:00
94dd34f0bd Another '.' to metaString replacement 2014-05-21 15:13:56 +02:00
04e8f11529 Use the metaString variable instead of .(dot), since in cling one can override the '.' with something else (thanks Vassil for the feedback) 2014-05-21 15:05:57 +02:00
a7000c871c Improve the cling .help output (Jira #ROOT-5844) 2014-05-21 14:26:59 +02:00
d44612a63c Add a filename to the unnamed macro handling. Fixes ROOT-4760. 2014-05-21 12:44:57 +02:00
de3809bb51 Rely on the expr kind, instead of some compiler generated exprs which can be missing. 2014-05-21 09:36:56 +02:00
c1411a261b Remove obsolete config switches.
Fixes:
Warning: Tag `SYMBOL_CACHE_SIZE' at line 290 of file /mnt/vdb/lsf/cling-37f64ff95641-full-1498388/obj/tools/cling/docs/doxygen.cfg has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `SHOW_DIRECTORIES' at line 490 of file /mnt/vdb/lsf/cling-37f64ff95641-full-1498388/obj/tools/cling/docs/doxygen.cfg has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 819 of file /mnt/vdb/lsf/cling-37f64ff95641-full-1498388/obj/tools/cling/docs/doxygen.cfg has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `USE_INLINE_TREES' at line 989 of file /mnt/vdb/lsf/cling-37f64ff95641-full-1498388/obj/tools/cling/docs/doxygen.cfg has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
2014-05-21 09:36:56 +02:00
51b55438a1 Before proceeding to call the special user-specific function check for the right overload.
This implementation is a bit cumbersome, but the key advantage is that we do not
create AST nodes on the heap. We create some nodes which will help the overload
candidate selector to do the selection. After it returned true/false (there is/isn't
proper function to call) we free all the used memory and proceed in calling the
user defined function.
2014-05-20 13:54:58 +02:00
7b9f839ef5 Get the ptr type of a non reference type, in order to meet the special printValue/Type function convention. 2014-05-20 13:54:57 +02:00
afae38d98c Use ticks instead of quotes when printing a single char. 2014-05-20 13:54:57 +02:00
a6eedd674b Extract out common implementation. 2014-05-20 10:40:58 +02:00
66faddd2db Style. 2014-05-20 10:40:57 +02:00
37f64ff956 Typo. 2014-05-19 16:27:54 +02:00
2b9860162e Typo. 2014-05-19 16:27:54 +02:00
7ae23a4831 Disable C specific code, it needs more work in order to make the value printing in C work. 2014-05-19 16:27:54 +02:00
729d8da586 Inconsistently to named macros with return stmts we don't print the result of unnamed macros. 2014-05-19 16:05:57 +02:00
e5a04f9375 Expand 'properly' VPAuto into whatever the value printer synthesizer desided to do. 2014-05-19 16:05:57 +02:00
5deb236214 Dump only if value printing was enabled. Add assertion. 2014-05-19 16:05:57 +02:00
68d86e2537 Add proper assert. 2014-05-19 16:05:57 +02:00
58b76265fa Forget about ValuePrinterInfo. 2014-05-18 20:45:56 +02:00
711e39e092 Pass in the transaction ptr, whoose value we print out. 2014-05-18 18:08:59 +02:00
5bdf863d5f Do not dump for void, resetting the value of the value. 2014-05-18 18:08:59 +02:00
5167e8f992 Improve the C version of the value printing. 2014-05-18 18:08:59 +02:00
e1367a1f17 Add a simple overload candidate selector. 2014-05-18 18:08:59 +02:00
74ad676363 Allow handling of ptr types by the non-specialized version. 2014-05-18 18:08:59 +02:00
10259542d2 Add some future reference for the C runtime. 2014-05-18 18:08:59 +02:00
9b5c844b9b Change the wrapper signature to take a void* (useful for the C mode) 2014-05-18 18:08:59 +02:00
46636a18d3 No need to pass the interpreter. We have it. 2014-05-18 18:08:59 +02:00
28de2c1cc2 No need to pass in the ASTContext, we have it. 2014-05-18 18:08:59 +02:00