Jordan Maples [MSFT]
25bb4bd948
Revert "[cmake] Adding options for INSTALL and TEST ( #964 )" ( #966 )
...
This reverts commit eca0eca6f1
.
2021-01-04 14:17:03 -08:00
Jordan Maples [MSFT]
1c509ad8e1
update gtest ( #965 )
2021-01-04 11:31:01 -08:00
hdf89shfdfs
eca0eca6f1
[cmake] Adding options for INSTALL and TEST ( #964 )
...
* [cmake] Adding GSL_INSTALL option
Not all consumers of GSL automatically want to have this install logic.
It's good practice to gate install logic behind an option.
For an example look at magic_enum:
https://github.com/Neargye/magic_enum/blob/master/CMakeLists.txt
If the client wants to install GSL they still can. But they should ask
for it by overriding GSL_INSTALL.
* Update cmake/guidelineSupportLibrary.cmake
added nl@eof
* Update CMakeLists.txt
* Update CMakeLists.txt
Co-authored-by: Juan Ramos <juanr0911@gmail.com>
Co-authored-by: Jordan Maples [MSFT] <49793787+JordanMaples@users.noreply.github.com>
2021-01-04 10:42:33 -08:00
hdf89shfdfs
d15cb5fdbe
Minor cmake changes ( #961 )
...
Abstract adding natvis file.
Move call to find_package(Git) as well as making it required/quiet.
2020-12-15 10:06:46 -08:00
Jordan Maples [MSFT]
a6cef6bc6c
remove multi_span ( #958 )
2020-12-09 15:18:07 -08:00
Jordan Maples [MSFT]
9150ce9a95
Adding std::hash<not_null<T>> tests to notnull_tests.cpp ( #947 )
...
* added std::hash<not_null> tests
* nl
2020-11-03 16:56:09 -08:00
Jordan Maples [MSFT]
a150aaa4ed
renaming main logic files. Added warning message of the removal and include passthrough. Renamed includes in the source files. Ran Clang-Format ( #946 )
...
Header rename
2020-10-29 17:38:48 -07:00
Pascal Menuet
c25a7544b8
Fix finally with mutable lvalue invokable
2020-08-14 16:24:10 +02:00
Jordan Maples
74968d3ef8
Merge branch 'master' into exception_fix_new_file
2020-08-12 17:14:13 -07:00
Jordan Maples [MSFT]
9355982fc5
Merge pull request #868 from mymedia2/master
...
Search for GoogleTest via pkg-config first
2020-08-12 15:08:54 -07:00
Jordan Maples
72ddfb7a40
created new file for gsl_narrow, might want to rename if we go this approach to have all exception prone logic to live here
2020-08-11 17:11:14 -07:00
Jordan Maples
72803a7ecb
adding template type to the vector to suppress clang-10 warning that vector may not intend for type deduction.
2020-05-29 15:45:25 -07:00
Jordan Maples
4d2090ebc4
fixed typo
2020-05-29 10:54:13 -07:00
Jordan Maples
c4a2ce6cc8
wrapping string_view checks in deduction guide checks to prevent 'macro unused' errors
2020-05-29 10:53:30 -07:00
Casey Carter
c143a07f61
Add string_view test case and modify deduction guides
2020-05-28 18:00:40 -07:00
Jordan Maples
6c405a1b7f
adding a test to verify that the additional ctad works
2020-05-28 17:18:08 -07:00
Jordan Maples [MSFT]
0dbdf322fa
Merge pull request #886 from JordanMaples/dev/jomaples/build_matrix
...
compiler support revision
2020-05-26 15:14:08 -07:00
Jordan Maples
25e7af9c7d
fixing clang build break
2020-05-20 17:52:03 -07:00
Jordan Maples
1e44481646
Finished integrating CaseyCarter's changes into span
2020-05-20 13:37:42 -07:00
Jordan Maples
31604f44f6
string_span_tests CLRF -> LF
2020-05-20 12:32:25 -07:00
Jordan Maples
552cd20472
addressing most of Casey's comments
2020-05-20 10:59:57 -07:00
Jordan Maples
2085c7acde
initial impl of P1976R2
2020-05-19 16:27:46 -07:00
Jordan Maples
a6d382109e
missed a GSL_CONSTEXPR_NARROW for removal
2020-05-12 16:43:23 -07:00
Nicholas Londey
3a5b83db35
Removed unused contant from test
2020-04-23 12:30:44 +10:00
Nicholas Londey
94d6a35726
Fixed narrow unit test EXPECT_THROW
2020-04-23 12:23:36 +10:00
Nicholas Londey
4eb554d7c2
Removed no_exception_throw_tests.cpp
...
as per review feedback
2020-04-23 11:58:00 +10:00
Nicholas Londey
61534ca3ad
Changed implementation of gsl::narrow to throw gsl::narrowing_error
...
Implementation now behaves as described in the C++ Core Guidlines
2020-04-22 10:09:13 +10:00
Nicholas Guriev
f5cf01083b
Search for GoogleTest via pkg-config first
2020-04-18 13:30:17 +03:00
Jordan Maples
9cb376c050
adding back free functions for [c|cr][begin|end]
2020-04-14 16:57:12 -07:00
Jordan Maples
7341c5d1b5
implement LWG3320 by deleting const_iterator and const_reverse_iterator
2020-04-14 13:51:49 -07:00
Jordan Maples
efbce17ca4
testing one of CaseyCarter's comments
2020-04-09 17:33:33 -07:00
Jordan Maples
ffbfcc0a9f
apply clang-format to the span_compatibility_tests.
2020-04-09 16:15:08 -07:00
Jordan Maples
5ca02327c4
another test
2020-04-09 15:56:26 -07:00
Jordan Maples
8d907dadfb
prevent comparison for apple clang versions older than 11
2020-04-09 14:35:44 -07:00
Jordan Maples
b7d9d754ac
another attempt at apple clang version filtering
2020-04-09 14:17:52 -07:00
Jordan Maples
809aee2315
testing different major/minor for Apple suppression
2020-04-09 11:51:59 -07:00
Jordan Maples
6ef56d73da
fixed a couple typos
2020-04-09 10:35:44 -07:00
Jordan Maples
2f9d873043
added additional filtering to Apple clang versions 9.4 and 10.1 for the ArrayConvertibilityCheck
2020-04-09 10:34:58 -07:00
Jordan Maples
f85166aa8b
Merge branch 'master' into dev/jomaples/LWG3255
2020-04-09 09:53:45 -07:00
Farwaykorse
611674d60b
GCC "-Warray-bounds" warning persists with release 8.4
...
modification of commit 5e21831494
2020-04-09 03:50:17 +02:00
Jordan Maples
15dd17aa5b
Merge branch 'master' into dev/jomaples/LWG3255
2020-04-08 14:47:08 -07:00
Jordan Maples
01d206f4d8
adding additional filtering
2020-04-08 14:38:01 -07:00
Roelf-Jilling
5e21831494
Suppress test for GCC 8.3 triggering "-Warray-bounds"
2020-03-26 20:15:29 +01:00
Roelf-Jilling
30c068781f
Merge branch 'master' into TravisCI
2020-03-26 16:24:19 +01:00
Jordan Maples
ddde9e153d
update convertibility test
2020-03-19 14:08:04 -07:00
Jordan Maples
6eab19d3c1
moving decl so we dont get the stl_nullptr is not used warning
2020-03-17 15:13:26 -07:00
Jordan Maples
f8bcb7d9eb
applied clang-format
2020-03-17 15:04:58 -07:00
Jordan Maples
9b3ac8d681
discussed the issue with Casey Carter, the span ctor changes are accurate but the tests are not. The test require work that was done in C++17 regarding qualifier conversions to work correctly. Scoping tests for 17.
2020-03-17 15:02:00 -07:00
Jordan Maples
1dd1320c8b
test commit to get extra eyes on the problem
2020-03-17 13:53:13 -07:00
Jordan Maples [MSFT]
c853017be3
forgot nl @ eof in span_ext_tests.cpp
2020-02-19 14:44:22 -08:00