3600 Commits

Author SHA1 Message Date
Frederich Munch
7ee942f14e Windows: Avoid mangling Dtor_Comdat 2016-12-15 14:29:09 +01:00
Frederich Munch
8644c890f4 Windows: Fix crash on unloading of Dtor_Comdat destructors. 2016-12-15 14:29:09 +01:00
Axel Naumann
b6114f10e1 Fix logic precedence, as in sort of: if not assert-test then message. 2016-12-14 18:29:07 +01:00
Danilo Piparo
7d9d012893 Remove warning 2016-12-14 17:14:21 +01:00
Vassil Vassilev
dbd0d510a7 Automatically generate bug chunk of the modulemap.
Our two build systems can generate almost entirely a modulemap file laying out
one module per library. Due to some non-modular implementation in ROOT's core we
still need to treat some header files specially.

This patch appends modular header files to the modulemap while skipping the
predefined ones. Configure-make relates all headers that are installed in
$ROOTSYS/include to their library whereas relates only headers which are part of
library's dictionary.
2016-12-14 16:14:10 +01:00
Frederich Munch
4427d1a5c2 Have .> cmd expand env-vars. Fixes OutputRedirect test on Windows. 2016-12-14 09:29:10 +01:00
Frederich Munch
1bf0e16d7f Redirect to file properly when no space between > and filename. 2016-12-14 09:29:10 +01:00
Frederich Munch
e0ddb56b20 Fixes for output redirection.
Decouple redirection state from MetaProcessor and MaybeRedirectOutputRAII.
Only suspend redirection when writing to the prompt.
Allow user to redirect to files named 1, 2, &1, &2.
Allow stderr and stdout to be redirected to one another.
Don't create _IO_2_1_stdout_ file.
2016-12-14 09:29:10 +01:00
Frederich Munch
64b89f34a7 Randomize and speed up OutputRedirect.C. 2016-12-14 09:29:10 +01:00
Frederich Munch
0fce2df9ed Only initialize redirection state if used. 2016-12-14 09:29:10 +01:00
Frederich Munch
bedf4302e4 Avoid unnecessary string allocations. 2016-12-14 09:29:10 +01:00
Frederich Munch
f7e4bb2615 Add default for MetaProcessor::process Value argument. 2016-12-14 09:29:10 +01:00
Frederich Munch
3a519fe9cd Windows: Get RunAgainstClangTestSuite.C working. 2016-12-12 12:44:10 +01:00
Frederich Munch
12ebdf3686 Change PCH test to generated C++14.
This allows the test to pass on VStudio 2015 and seems like a good thing
to test on other platforms.
2016-12-12 12:44:10 +01:00
Frederich Munch
bf3c8052d8 Windows: Fix various test failures. 2016-12-12 12:44:09 +01:00
Frederich Munch
705e2b2a7e Windows: Fix test failure because path has backslashes. 2016-12-12 12:44:09 +01:00
Frederich Munch
d4aed2527d Add CLING_EXPORT macro. 2016-12-12 12:44:09 +01:00
Frederich Munch
52cd30dbef Lit: Add setenv transformation to use export/set on Unix/Windows. 2016-12-12 12:44:09 +01:00
Frederich Munch
e8cade29c7 Lit: Quote paths for Windows. 2016-12-12 12:44:09 +01:00
Frederich Munch
e265a84fef Lit: Use proper Windows paths for easier copy/paste. 2016-12-12 12:44:09 +01:00
Frederich Munch
960f6e4be7 Lit: Propagate LIB & LIBPATH env-vars on Windows. 2016-12-12 12:44:09 +01:00
Axel Naumann
20c0d02aaf Allow combined multiline input (i.e. not line-by-line) by default. 2016-12-12 12:29:38 +01:00
Frederich Munch
73b7f6d911 MetaProcessor::process requires single line input. 2016-12-12 12:29:38 +01:00
Frederich Munch
9becb2a25c Remove unused members of MetaProcessor in Release. 2016-12-12 12:29:38 +01:00
Frederich Munch
b7bdd91739 Add error handling to MetaProcessor::readInputFromFile. 2016-12-12 12:29:38 +01:00
Frederich Munch
178c33e251 Optimize InputValidator to avoid unnecessary copy when retrieving the input directly before a reset, and to release memory when reset. 2016-12-12 12:29:38 +01:00
Frederich Munch
91c925632c Add template keyword support to InputValidator. 2016-12-12 12:29:38 +01:00
Frederich Munch
723bed09d5 Add preprocessor #if conditional support to InputValidator. 2016-12-12 12:29:38 +01:00
Frederich Munch
72c3eac1e1 Add block comment support to InputValidator. 2016-12-12 12:29:38 +01:00
Frederich Munch
a2fd30a8d5 Don't reallocate MetaLexer on the heap for every line. Its a waste of time for 24 bytes that will be needed for every line anyway. Remove bufferEnd field as it was entirely unused. 2016-12-12 12:29:38 +01:00
Axel Naumann
c54f88ce6a Silence unused param warning, if this is what this should do? 2016-12-08 12:14:16 +01:00
Axel Naumann
763b36c042 HandleResizeSignal() needs fOutputID; initialize it first. 2016-12-08 12:14:16 +01:00
Frederich Munch
9edf676001 Remove call to fsync. 2016-12-08 12:14:01 +01:00
Frederich Munch
feedccb427 Fix tty/console output prompt when piping to a file. 2016-12-08 12:14:01 +01:00
Frederich Munch
d82d144e43 Windows: Fix tty/console when input is piped in. 2016-12-08 12:14:01 +01:00
Frederich Munch
354b080f0f Windows: Fix undefined symbols introduced in 0d50cea. clang::LangOptions::setStackProtector(SSPStrong) requires bufferoverflowu.lib. 2016-12-08 10:29:09 +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
1b905ba5e1 Officially fed up 2016-12-02 16:23:27 +01:00
Bertrand Bellenot
157df0f0ce Revert change in the os name 2016-12-02 16:08:39 +01:00
Bertrand Bellenot
67c258eb70 Use the correct version of visual studio (last try) 2016-12-02 16:05:25 +01:00
Bertrand Bellenot
889a6da358 Try Win64 only 2016-12-02 15:59:01 +01:00
Bertrand Bellenot
f4023759ea Try to set it right 2016-12-02 15:44:05 +01:00
Bertrand Bellenot
bcbe4d168b Use the correct CMake generator 2016-12-02 14:44:04 +01:00
Frederich Munch
ce31cab80e CMake: Add clang-headers dependency. 2016-12-02 14:14:06 +01:00
Frederich Munch
72c78e65e7 Make ClangInternalState more const correct. 2016-12-02 14:14:06 +01:00
Frederich Munch
94b62b2220 Add verbosity argument to ClangInternalState::compare. 2016-12-02 14:14:06 +01:00
Frederich Munch
020b83c452 Fix using llvm::StringRef data as c-string. 2016-12-02 14:14:06 +01:00
Bertrand Bellenot
f2c6c10237 So much fun trying this 2016-12-02 12:44:05 +01:00