mirror of https://github.com/microsoft/vcpkg.git
[gtest] Fix clang-tidy error in gtest (#23906)
* Nolinux gtest matchers * Typo * Update version database * update port version * Update version database
This commit is contained in:
parent
a7be23bf9f
commit
6f1028b184
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/googletest/include/gtest/gtest-matchers.h b/googletest/include/gtest/gtest-matchers.h
|
||||
index 2bd3dcf6..12cd60f6 100644
|
||||
--- a/googletest/include/gtest/gtest-matchers.h
|
||||
+++ b/googletest/include/gtest/gtest-matchers.h
|
||||
@@ -403,6 +403,7 @@ class MatcherBase : private MatcherDescriberInterface {
|
||||
};
|
||||
|
||||
void Destroy() {
|
||||
+ // NOLINTNEXTLINE
|
||||
if (IsShared() && buffer_.shared->Unref()) {
|
||||
vtable_->shared_destroy(buffer_.shared);
|
||||
}
|
||||
|
||||
|
|
@ -9,6 +9,7 @@ vcpkg_from_github(
|
|||
SHA512 6fcc7827e4c4d95e3ae643dd65e6c4fc0e3d04e1778b84f6e06e390410fe3d18026c131d828d949d2f20dde6327d30ecee24dcd3ef919e21c91e010d149f3a28
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
clang-tidy-no-lint.patch
|
||||
fix-main-lib-path.patch
|
||||
remove-werror.patch
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "gtest",
|
||||
"version-semver": "1.11.0",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "GoogleTest and GoogleMock testing frameworks",
|
||||
"homepage": "https://github.com/google/googletest",
|
||||
"license": "BSD-3-Clause",
|
||||
|
|
|
|||
|
|
@ -2650,7 +2650,7 @@
|
|||
},
|
||||
"gtest": {
|
||||
"baseline": "1.11.0",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"gtk": {
|
||||
"baseline": "4.6.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9731f44f8b0ecbc67eafccd0440700357d2cdfc4",
|
||||
"version-semver": "1.11.0",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "9b9432e429e940c2d86eeef6fcf03bc74418c4c5",
|
||||
"version-semver": "1.11.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue