28 Commits

Author SHA1 Message Date
Frederich Munch
42971e42cd Lit: Add %mkdir, %rm, and %rmdir substitutions. 2017-02-21 16:34:19 +01:00
Frederich Munch
311a557be1 Windows: Interpret -nostdinc++ as -nostdinc which clang does not use on Windows backend. Fixes ABI and NoStdInc tests. 2017-02-17 15:14:06 +01:00
Frederich Munch
eb40609ab2 Add -noruntime flag to force cling not load or use support for value-printing or null dereferencing. This makes it tons easier to debug DeclUnload and discover what isn't being unloaded. 2017-02-09 16:45:11 +01:00
Frederich Munch
630abbf855 Windows: Fix preprocessor output test. 2017-02-09 16:45:10 +01:00
Frederich Munch
94672dd0d0 Fix unloading functions declared external "C". Refactor VisitRedeclarable. 2017-02-02 08:30:01 +01:00
Frederich Munch
14437862ef Handle -E flag to dump preprocessor definitions. 2017-02-01 13:14:11 +01:00
Frederich Munch
4b6ae92419 Split getcwd tests into two files as Windows cannot pass one of the tests. 2016-12-06 20:44:05 +01:00
Frederich Munch
0a995d8b3d Revert "Simplify; make Windows compatible (cannot delete cwd)."
This reverts commit 245922175593ec769be5abf63011d86aa2c02934.
2016-12-06 20:44:05 +01:00
Bertrand Bellenot
2459221755 Simplify; make Windows compatible (cannot delete cwd). 2016-12-06 16:14:25 +01:00
Bertrand Bellenot
fdf057e19a Cannot use tick as quote on Windows.' 2016-11-30 11:14:29 +01:00
Bertrand Bellenot
f8f73fd444 On Windows we need -nostdinc as C and C++ header locations are identical. 2016-11-30 10:14:14 +01:00
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