Commit Graph

17 Commits

Author SHA1 Message Date
Frederich Munch
4cdbc0461e Honor clangs -nostdinc++ and -nobuiltininc flags.
Rename AddHostCXXIncludes  to AddHostIncludes and delineate between -nostdinc++
and -nobuiltininc. When cling is invoked with -nobuiltininc, do not #include any runtime
files on startup.  Make ABI incompatability error consistent across platforms and add a test to verify behavior when this occurs.

More importantly this allow for easier debugging of Decl unloading as the amount of
declarations on startup is greatly reduced.

Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
2016-08-18 15:44:17 +02:00
Frederich Munch
109812d223 Fix crash from possible null return from getcwd. 2016-08-12 14:29:07 +02:00
Frederich Munch
bcb75e1476 Don't create a virtual file with a valid file name.
This fix allows running a file in the current working directory.
2016-08-12 14:29:07 +02:00
Axel Naumann
62ea6ec80a Do not rely on init_list intricacies. 2016-01-13 09:59:04 +01:00
Axel Naumann
a4a3ebbb41 Fix expectation to match (correct) reality. 2016-01-02 20:48:01 +01:00
Boris Perovic
c44940b223 New printValue() integration (printing unified through overloading of printValue() function and template resolution). Modified tests to conform to the new prints. 2015-08-17 18:45:03 +02:00
Axel Naumann
31a9d9d0b2 Make test more telling. 2015-04-04 20:51:20 +02:00
Axel Naumann
2b0371b779 Adapt expectation to reality. 2015-04-03 21:58:12 +02:00
Liza Sakellari
529b0aed53 Fixed parsing of '\'' at the prompt (ROOT-7159). 2015-03-31 16:47:10 +02:00
Liza Sakellari
4de2d7d77c Fixed Parser error when calling a macro with arguments. 2015-03-31 16:47:09 +02:00
Liza Sakellari
19ce2d03b6 Fixed bug "Parser error when calling a macro with arguments". 2015-03-31 16:47:09 +02:00
Axel Naumann
e582b93a16 No #include <new> in C mode; add basic C mode test (ROOT-7090). 2015-02-21 22:43:36 +01:00
Vassil Vassilev
a415711407 Implement a shebang support in cling. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
afaf997555 We cannot pass in a 'proper' source location, thus we cannot use -verify. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
f14fbd2b78 Make sure no diags are emitted. 2014-08-14 14:56:43 +02:00
Vassil Vassilev
7ecb829baa Move the test at its right place 2014-08-14 14:56:40 +02:00
Vassil Vassilev
a1640388a4 On .x try calling the specially named function only if it exists. 2014-08-14 14:56:39 +02:00