Skip to content

Commit b343ac3

Browse files
Abseil Teamderekmauro
Abseil Team
authored andcommitted
Export of internal Abseil changes
-- 684e488495a2d95def9a865569ad5ba7ec89967f by Abseil Team <[email protected]>: Remove references to deleted clang-tidy checks. Tested: TAP --sample ran all affected tests and none failed http://test/OCL:356861384:BASE:356825575:1613005412689:548d66bd PiperOrigin-RevId: 356877726 -- f9d8549cd67866e13bb71b21280ec293684ab43b by Abseil Team <[email protected]>: Add missing closing punctuation to two file-level comments. PiperOrigin-RevId: 356867260 GitOrigin-RevId: 684e488495a2d95def9a865569ad5ba7ec89967f Change-Id: Ibe04878684c20a23b214ee7e5df9c6dd434bc3dc
1 parent 1d1ad22 commit b343ac3

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

absl/flags/marshalling.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
// // AbslParseFlag converts from a string to OutputMode.
8484
// // Must be in same namespace as OutputMode.
8585
//
86-
// // Parses an OutputMode from the command line flag value `text. Returns
86+
// // Parses an OutputMode from the command line flag value `text`. Returns
8787
// // `true` and sets `*mode` on success; returns `false` and sets `*error`
8888
// // on failure.
8989
// bool AbslParseFlag(absl::string_view text,
@@ -139,7 +139,7 @@
139139
//
140140
// // Within the implementation, `AbslParseFlag()` will, in turn invoke
141141
// // `absl::ParseFlag()` on its constituent `int` and `std::string` types
142-
// // (which have built-in Abseil flag support.
142+
// // (which have built-in Abseil flag support).
143143
//
144144
// bool AbslParseFlag(absl::string_view text, MyFlagType* flag,
145145
// std::string* err) {

absl/random/internal/mock_overload_set.h

+5-7
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ struct MockSingleOverload<DistrT, Ret(MockingBitGen&, Args...)> {
4545
"Overload signature must have return type matching the "
4646
"distribution result_type.");
4747
using KeyT = Ret(DistrT, std::tuple<Args...>);
48-
auto gmock_Call(
49-
absl::MockingBitGen& gen, // NOLINT(google-runtime-references)
50-
const ::testing::Matcher<Args>&... matchers)
48+
auto gmock_Call(absl::MockingBitGen& gen,
49+
const ::testing::Matcher<Args>&... matchers)
5150
-> decltype(MockHelpers::MockFor<KeyT>(gen).gmock_Call(matchers...)) {
5251
return MockHelpers::MockFor<KeyT>(gen).gmock_Call(matchers...);
5352
}
@@ -59,10 +58,9 @@ struct MockSingleOverload<DistrT, Ret(Arg, MockingBitGen&, Args...)> {
5958
"Overload signature must have return type matching the "
6059
"distribution result_type.");
6160
using KeyT = Ret(DistrT, std::tuple<Arg, Args...>);
62-
auto gmock_Call(
63-
const ::testing::Matcher<Arg>& matcher,
64-
absl::MockingBitGen& gen, // NOLINT(google-runtime-references)
65-
const ::testing::Matcher<Args>&... matchers)
61+
auto gmock_Call(const ::testing::Matcher<Arg>& matcher,
62+
absl::MockingBitGen& gen,
63+
const ::testing::Matcher<Args>&... matchers)
6664
-> decltype(MockHelpers::MockFor<KeyT>(gen).gmock_Call(matcher,
6765
matchers...)) {
6866
return MockHelpers::MockFor<KeyT>(gen).gmock_Call(matcher, matchers...);

0 commit comments

Comments
 (0)