You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation states that “reinitialization” occurs if [among others]:
clear() or assign() is called on the variable and the variable is of one of the standard container types basic_string, vector, deque, forward_list, list, set, map, multiset, multimap, unordered_set, unordered_map, unordered_multiset, unordered_multimap.
Please add a configuration option allowing users to specify additional custom container types with the same semantics. I'm programming against absl::InlineVector, and it is frustrating that .clear() on that type -- which in ~every other way behaves like std:vector -- does not satisfy this clang-tidy check.
Similar configuration for custom smart-pointer types and reset() would likely also make sense.
The text was updated successfully, but these errors were encountered:
Extended Description
The documentation states that “reinitialization” occurs if [among others]:
Please add a configuration option allowing users to specify additional custom container types with the same semantics. I'm programming against
absl::InlineVector
, and it is frustrating that.clear()
on that type -- which in ~every other way behaves likestd:vector
-- does not satisfy this clang-tidy check.Similar configuration for custom smart-pointer types and
reset()
would likely also make sense.The text was updated successfully, but these errors were encountered: