Commit Graph

3591 Commits

Author SHA1 Message Date
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 2459221755.
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
Bertrand Bellenot
c6b70134e4 Next try... 2016-12-02 12:14:04 +01:00
Bertrand Bellenot
8a41b4d2dc Try again... 2016-12-02 11:54:48 +01:00
Bertrand Bellenot
0c0215b67a Try to use proper syntax 2016-12-02 11:35:00 +01:00
Axel Naumann
372c3243bf MacOS messes up unicode file names with old git. 2016-12-02 11:29:08 +01:00
Bertrand Bellenot
d99f977b29 Try to make Appveyor recognize x64 architecture on vitual machines 2016-12-02 11:11:52 +01:00
Bertrand Bellenot
b8a7f949cb Remove extra colon 2016-12-02 10:37:45 +01:00
Bertrand Bellenot
52f1b4d0b1 Add debugging info 2016-12-02 10:29:05 +01:00
Bertrand Bellenot
2f7723d175 Try 64 bit first 2016-12-01 18:29:20 +01:00
Axel Naumann
cab3c10849 Revert "Fix UTF8 encoding for _42_Semmel_Knödel."
Makes the tests fail on Linux.
This reverts commit e666cfc7b0d141aff54e380c2f7f63e85ae23646.
2016-12-01 17:44:07 +01:00