Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-10Fix/implement C++2020 compilation, tests, and CI (#1017)dmitrykobets-msft
* Fix C++20 bugs and tests * Rework CI for C++2020 tests * Update readme compiler versions
2021-05-21gsl::at behavior change regarding gsl::span (#985)Jordan Maples [MSFT]
* move span specialization of 'at' to <gsl/span> and update the parameter to be taken by reference * undid previous changes and acted upon decisions made in maintainer sync. Fixed tests failing in /kernel mode * ran clang-format on the include folder * ran clang-format on the test folder Co-authored-by: Jordan Maples <jordan.maples@microsoft.com>
2020-10-30renaming main logic files. Added warning message of the removal and include ↵Jordan Maples [MSFT]
passthrough. Renamed includes in the source files. Ran Clang-Format (#946) Header rename
2020-01-16MSVC and CoreChecker warning suppression for tests to CMakeRoelf-Jilling
Suppress CppCoreCheck warnings on GTest macros. Suppress CppCoreCheck advice to use the GSL
2020-01-16Move compiler warning suppression for tests from cpp files to CMakeRoelf-Jilling
2020-01-08added suppression for missing destructor overrideJordan Maples [MSFT]
2019-12-20addressing commentsJordan Maples [MSFT]
2019-12-13change from string to char*Jordan Maples [MSFT]
2019-12-12removed string_view for string in testsJordan Maples [MSFT]
2019-12-12changing text in notices & readme. adding terminate handler for testsJordan Maples [MSFT]
2019-12-07fixing suppression of gtest warnings for gccJordan Maples
2019-12-05attempting to fix the gtest print issues in vs17Jordan Maples [MSFT]
2019-12-04suppressing -Wundef in clang (GTest emitted)Jordan Maples [MSFT]
2019-12-04ignore warnings from gtestJordan Maples [MSFT]
2019-12-04gtest migrationJordan Maples [MSFT]
2018-08-13fix cppcorecheck warnings (#703)Anna Gringauze
* Added c++17 test configurations for clang5.0 and clang6.0 * Fixed CppCoreCheck warnings in GSL and tests - Added CMakeSettings.json for VS Open Folder configuration - So we can easily run CppCoreCheck in VS - Fixed CppCorecheck warnings where it made sense - Suppressed the rest - Some suppression does not work due to compiler/tool bugs, so replaced by #pragma disable - CppCoreCheck has noise, suppressed those with comments - Catch produces many warnings, blanket-supressed them all - Had to fix clang formatting to keep attributes in place - clang-format does not support attributes, so I am using - "CommentPragmas: '^ NO-FORMAT:'" to skip formatiting on them - Removed GSL_NOEXCEPT macro, removed incorred noexcepts * Ignore unknown attributes * ignore unknown attributes in noexception mode tests * fixed C26472 in at() * created GSL_SUPPRESS macro to allow all compilers to parse suppression attributes * try to fix gcc compilation problems with attributes * ignore gsl::suppress for gcc * move suppression to function level on return statements clang5.0 and up does not allow attributes on return statemets in constexpr functions * move suppression to function level on return statements * use GSL_SUPPRESS in algorithm_tests * Addressed PR comments
2017-11-28Applied iwyu --comment to the code base (#588)Tiago
2017-07-13Move from unittest-cpp to catch for unit testing. (#533)Neil MacIntosh
Many thanks to @rianquinn. This should fix #495, #494 and #529.
2017-04-20Reformat files to follow clang-format style (#492)Tiago
Project files were not following the clang-format style. For people using IDEs were clang-format is always run after a save this would cause unwanted changes. This commit only applies "clang-format -i" to files.
2017-04-17Turn warnings into errors (#488)Casey Carter
2017-04-04gsl::at clean-up: (#479)Casey Carter
* initializer_list overload returns by value to avoid lifetime issues * generic overload uses expression SFINAE to work with any type that has member size() and operator[], which notably includes const/non-const vector and array. * Add test coverage for const objects, rvalue initializer_lists, and constexpr usage. Fixes #357.
2016-10-28Fix gsl::at()'s use of size_t Rian Quinn
gsl::at should use std::ptrdiff_t instead of size_t. This patch fixes that, and adds missing unit tests
2016-08-10Removed .h extension from header files.Galik
2016-08-09Renamed include/ folder to gsl/ to make including the library consistentgalik
whether using it from the development folder, from the installation folder or from being copied into a project. #include <gsl/gsl.h> Updated headers/tests/instructions/cmake build accordingly This PR should address https://github.com/Microsoft/GSL/issues/277 (less the renaming of gsl itself)
2016-05-09gsl::at overload for initializer_listericLemanissier
initializer_list do not have subscript operator, so the generic container overload of gsl::at fails to compile. This commits adds an overload of gsl::at for initializer_lists, using *(initializer_list::begin()+index) instead of subscript operator
2015-09-30Renamed namespace to 'gsl'. Renamed macro to configure testing.Neil MacIntosh
2015-08-21Initial commit of library files.Neil MacIntosh