Commit Graph

566 Commits

Author SHA1 Message Date
Roelf-Jilling
449eec40f8 Add architecture flags for Clang 2018-11-18 10:15:41 +01:00
Roelf-Jilling
39b32ff7d6 Replace MSBuild with Ninja 2018-11-18 09:30:13 +01:00
Roelf-Jilling
944751d03e Suppress output of mkdir 2018-11-18 09:23:48 +01:00
Roelf-Jilling
0c6ce000b7 fix missing bracket 2018-11-17 20:51:36 +01:00
Roelf-Jilling
cadb43819b fix logic error in workaround 2018-11-17 20:47:35 +01:00
Roelf-Jilling
bce6ed2338 git pull --quiet 2018-11-17 13:19:48 +01:00
Roelf-Jilling
337a03cd52 Fix or locally suppress clang warning -Wunused-member-function 2018-11-16 22:19:53 +01:00
Roelf-Jilling
07d8865afd format touched code and correct comment 2018-11-16 22:19:53 +01:00
Roelf-Jilling
63ce25d24f Revert "Fix clang warning -Wunused-member-function"
This reverts commit 6fe1a42035.
2018-11-16 21:09:50 +01:00
Roelf-Jilling
07ec87b3fc Add Clang-cl 7.0.0 to the supported platforms 2018-11-16 21:08:39 +01:00
Casey Carter
2e568b701c
Correct typo
Co-Authored-By: Farwaykorse <Farwaykorse@users.noreply.github.com>
2018-11-16 20:57:08 +01:00
Roelf-Jilling
3c9764f4e2 Re-enable AppVeyor builds for all platforms 2018-11-16 19:38:48 +01:00
Roelf-Jilling
eb936dab34 Suppress output of git pull; remove vcpkg from cache 2018-11-16 19:38:48 +01:00
Roelf-Jilling
a7ec3a85ab Revert all since "Workaround: fallback to mscv link.exe" did not work on AppVeyor
This reverts the commits:
bda3d6a428
97062933ac
0f4fb04bac
1b0c19afd1
a5739ea5f0
2018-11-16 19:36:26 +01:00
Roelf-Jilling
bda3d6a428 Workaround: fix, escape backslashes 2018-11-16 19:36:03 +01:00
Roelf-Jilling
97062933ac Workaround: try with full-path; and return user PATH 2018-11-16 17:01:35 +01:00
Roelf-Jilling
0f4fb04bac Workaround: fix, remove "PATH=" from text 2018-11-16 16:15:44 +01:00
Roelf-Jilling
1b0c19afd1 Workaround: get msvc paths into PowerShell through intermediate file 2018-11-16 15:46:41 +01:00
Roelf-Jilling
a5739ea5f0 Workaround: fallback to mscv link.exe 2018-11-16 15:21:56 +01:00
Roelf-Jilling
3e62f50737 Add macro block end comment on large #if blocks 2018-11-16 14:40:50 +01:00
Roelf-Jilling
2238c4760e Fix clang warning -Winvalid-noreturn on Windows 2018-11-16 14:28:56 +01:00
Roelf-Jilling
1b15a73942 Fix clang warning -Wmissing-noreturn 2018-11-16 10:17:40 +01:00
Roelf-Jilling
6fe1a42035 Fix clang warning -Wunused-member-function 2018-11-16 01:16:54 +01:00
Roelf-Jilling
f65b7cc35e Revert "Fallback to the MSVC linker until vcpkg has been updated"
This reverts commit 7263f3289e.
2018-11-16 00:36:50 +01:00
Roelf-Jilling
7263f3289e Fallback to the MSVC linker until vcpkg has been updated 2018-11-15 23:12:56 +01:00
Roelf-Jilling
329da83fd1 Fix clang warning -Wmissing-variable-declarations 2018-11-15 22:18:04 +01:00
Roelf-Jilling
9a625ab71c For Clang, fallback to the AppVeyor installed version of CMake 2018-11-15 19:59:29 +01:00
Roelf-Jilling
bd5b775b08 Clean condition statement 2018-11-15 19:48:16 +01:00
Roelf-Jilling
24604619ab Set linker explicitly 2018-11-15 19:48:07 +01:00
Roelf-Jilling
f810ce74f3 Fix clang warning -Wdouble-promotion (#741) 2018-11-14 22:44:10 +01:00
Roelf-Jilling
137367bbd7 Fix clang warning -Wnewline-eof (#741) 2018-11-14 22:44:03 +01:00
Roelf-Jilling
fd25cf8140 Suppress clang warning on tests (missing-prototypes) (#741) 2018-11-14 22:44:03 +01:00
Roelf-Jilling
100f2b9b55 MSVC flags to Clang-cl; disable c++98-compat and undefined macro warnings (#741) 2018-11-14 21:42:55 +01:00
Roelf-Jilling
84f57949ab Update span size() bug confirmation test for GCC 6.5 (#741) 2018-11-14 19:55:35 +01:00
Roelf-Jilling
22e78182e3 Try accessing APPVEYOR_BUILD_FOLDER variable (#471) 2018-11-14 12:20:35 +01:00
Roelf-Jilling
ade48d5fdd Fix blocks in ps script (#741) 2018-11-14 12:13:00 +01:00
Roelf-Jilling
c4845bb90a Check vcpkg version; try without building vcpkg; use latest clang-cl from path (#741) 2018-11-14 12:03:47 +01:00
Roelf-Jilling
92f69b6499 Update vcpkg (#741) 2018-11-14 01:33:48 +01:00
Roelf-Jilling
6c796869a3 Escape backslash in path (#741) 2018-11-14 00:07:22 +01:00
Roelf-Jilling
e09dfe90dd Add path to clang-cl.exe (#741) 2018-11-13 23:52:02 +01:00
Roelf-Jilling
1a15d747de Corrections Appveyor;
Temporarily disable msvc compilation for faster testing (#741)
2018-11-13 22:24:10 +01:00
Roelf-Jilling
7347fc5afa Add clang-cl configurations 2018-11-13 19:19:39 +01:00
Roelf-Jilling
9f3492064b Merge branch 'master' into clang-cl_2 2018-11-13 19:12:32 +01:00
Dave Hill
c02ddae4bc Span can be constructed from empty std::array safely (#686)
* Span std::array c'tor uses arr.data() instead of &arr[0]
- Fixes runtime issues when constructing from an empty std::array

* Construct span with std::data if C++17 detected

* Specialize span c'tor for std::array of length 0, set storage to nullptr
2018-11-05 15:39:41 -08:00
Ian Taylor
2bf9f137a6 make BoundsRanges constexpr (#732)
* make BoundsRanges constexpr

* fix clang compilation error

* fix windows compilation
2018-11-05 15:26:27 -08:00
Roelf-Jilling
419ea60e3e Fix #739 correct cppcorecheck warnings for clang-cl 2018-10-15 15:42:18 +02:00
Anna Gringauze
1995e86d1a span constructor no address (#723)
* Changed &arr[0] to std::array<T, N>::data and std::address_of to protect against overloaded operator&.

* Removed the usage of `std::addressof` because it is a C++ 17 feature. Using decay for C arrays instead.

* Add unit tests for #662.

* Added c++17 test configurations for clang5.0 and clang6.0

* fixed CppCoreCheck pointer decay warning
2018-08-19 17:10:53 -07:00
Anna Gringauze
585f48ce55 better check for branch opt (#724)
* Added c++17 test configurations for clang5.0 and clang6.0

* Simplified optimization in span::operator[]
2018-08-19 16:27:30 -07:00
Stephan Dollberg
86be2366c7 Fix #717 - Add empty() to strided_span (#718) 2018-08-17 11:47:03 -07:00
Anna Gringauze
55aad0ab6d
Dev/annagrin/explicit notnull transition description (#722)
* Added c++17 test configurations for clang5.0 and clang6.0

* Improved description how to make transition to explicit not_null constructor
2018-08-17 11:36:26 -07:00