| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/abseil/ |
| H A D | str-cat-append.cpp | 14 typedef basic_string<C, T, A> _Type; typedef 21 _Type& append(const C* s); 22 _Type& append(const C* s, size n); 23 _Type& assign(const C* s); 24 _Type& assign(const C* s, size n); 26 int compare(const _Type&) const; 35 _Type& insert(size pos, const _Type& str); 39 _Type& operator+=(const _Type& str); 40 _Type& operator+=(const C* s); 41 _Type& operator=(const _Type& str); [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/ |
| H A D | redundant-string-cstr.cpp | 14 typedef basic_string<C, T, A> _Type; typedef 23 _Type& append(const C *s); 24 _Type& append(const C *s, size n); 25 _Type& assign(const C *s); 26 _Type& assign(const C *s, size n); 28 int compare(const _Type&) const; 37 _Type& insert(size pos, const _Type& str); 41 _Type& operator+=(const _Type& str); 42 _Type& operator+=(const C* s); 43 _Type& operator=(const _Type& str); [all …]
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | ranges_replace_if.h | 32 template <class _Iter, class _Sent, class _Type, class _Proj, class _Pred> 34 _Iter __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj… in __replace_if_impl() 46 class _Type, 49 requires indirectly_writable<_Iter, const _Type&> 51 …_Iter operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj… in operator() 56 class _Type, 59 requires indirectly_writable<iterator_t<_Range>, const _Type&> 61 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_minmax.h | 45 template <class _Type, class _Proj = identity, 46 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less> 47 _LIBCPP_HIDE_FROM_ABI constexpr ranges::minmax_result<const _Type&> 48 operator()(const _Type& __a, const _Type& __b, _Comp __comp = {}, _Proj __proj = {}) const { in operator() 54 template <copyable _Type, class _Proj = identity, 55 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less> 57 …ranges::minmax_result<_Type> operator()(initializer_list<_Type> __il, _Comp __comp = {}, _Proj __p… in operator() 60 return ranges::minmax_result<_Type> { *__iters.first, *__iters.second };
|
| H A D | ranges_replace_copy_if.h | 36 template <class _InIter, class _Sent, class _OutIter, class _Pred, class _Type, class _Proj> 38 …_InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _Proj& … in __replace_copy_if_impl() 57 class _Type, 58 output_iterator<const _Type&> _OutIter, 63 …_InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __… in operator() 70 class _Type, 71 output_iterator<const _Type&> _OutIter, 76 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
|
| H A D | ranges_fill.h | 30 template <class _Type, output_iterator<const _Type&> _Iter, sentinel_for<_Iter> _Sent> 32 _Iter operator()(_Iter __first, _Sent __last, const _Type& __value) const { in operator() 42 template <class _Type, output_range<const _Type&> _Range> 44 borrowed_iterator_t<_Range> operator()(_Range&& __range, const _Type& __value) const { in operator()
|
| H A D | ranges_clamp.h | 33 template <class _Type, 35 indirect_strict_weak_order<projected<const _Type*, _Proj>> _Comp = ranges::less> 37 const _Type& operator()(const _Type& __value, in operator() 38 const _Type& __low, in operator() 39 const _Type& __high, in operator()
|
| H A D | ranges_lower_bound.h | 38 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity, 39 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less> 41 …_Iter operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __pro… in operator() 45 template <forward_range _Range, class _Type, class _Proj = identity, 46 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les… 49 const _Type& __value, in operator()
|
| H A D | ranges_search_n.h | 41 template <class _Iter1, class _Sent1, class _SizeT, class _Type, class _Pred, class _Proj> 43 …_Iter1 __first, _Sent1 __last, _SizeT __count, const _Type& __value, _Pred& __pred, _Proj& __proj)… in __ranges_search_n_impl() 74 class _Type, 77 requires indirectly_comparable<_Iter, const _Type*, _Pred, _Proj> 81 const _Type& __value, in operator() 87 …template <forward_range _Range, class _Type, class _Pred = ranges::equal_to, class _Proj = identit… 88 requires indirectly_comparable<iterator_t<_Range>, const _Type*, _Pred, _Proj> 92 const _Type& __value, in operator()
|
| H A D | ranges_remove.h | 36 template <permutable _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity> 37 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*> 39 …subrange<_Iter> operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) c… in operator() 44 template <forward_range _Range, class _Type, class _Proj = identity> 46 … && indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*> 48 …borrowed_subrange_t<_Range> operator()(_Range&& __range, const _Type& __value, _Proj __proj = {}) … in operator()
|
| H A D | ranges_count.h | 35 template <input_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity> 36 requires indirect_binary_predicate<ranges::equal_to, projected<_Iter, _Proj>, const _Type*> 38 …iter_difference_t<_Iter> operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __pro… in operator() 43 template <input_range _Range, class _Type, class _Proj = identity> 44 …res indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*> 46 …range_difference_t<_Range> operator()(_Range&& __r, const _Type& __value, _Proj __proj = {}) const… in operator()
|
| H A D | ranges_upper_bound.h | 35 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity, 36 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less> 38 …_Iter operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __pro… in operator() 46 template <forward_range _Range, class _Type, class _Proj = identity, 47 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les… 50 const _Type& __value, in operator()
|
| H A D | ranges_binary_search.h | 34 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity, 35 indirect_strict_weak_order<const _Type*, projected<_Iter, _Proj>> _Comp = ranges::less> 37 …bool operator()(_Iter __first, _Sent __last, const _Type& __value, _Comp __comp = {}, _Proj __proj… in operator() 42 template <forward_range _Range, class _Type, class _Proj = identity, 43 …indirect_strict_weak_order<const _Type*, projected<iterator_t<_Range>, _Proj>> _Comp = ranges::les… 45 bool operator()(_Range&& __r, const _Type& __value, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_remove_copy.h | 44 class _Type, 47 indirect_binary_predicate<ranges::equal_to, projected<_InIter, _Proj>, const _Type*> 49 …operator()(_InIter __first, _Sent __last, _OutIter __result, const _Type& __value, _Proj __proj = … in operator() 54 … template <input_range _Range, weakly_incrementable _OutIter, class _Type, class _Proj = identity> 56 … indirect_binary_predicate<ranges::equal_to, projected<iterator_t<_Range>, _Proj>, const _Type*> 58 operator()(_Range&& __range, _OutIter __result, const _Type& __value, _Proj __proj = {}) const { in operator()
|
| H A D | search_n.h | 31 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class… 35 const _Type& __value, in __search_n_forward_impl() 73 template <class _AlgPolicy, class _Pred, class _Iter, class _Sent, class _SizeT, class _Type, class… 77 const _Type& __value, in __search_n_random_access_impl() 122 class _Type, 128 const _Type& __value, 142 class _Type, 148 const _Type& __value,
|
| H A D | ranges_fill_n.h | 27 template <class _Type, output_iterator<const _Type&> _Iter> 29 _Iter operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const { in operator()
|
| H A D | lower_bound.h | 31 template <class _AlgPolicy, class _Iter, class _Sent, class _Type, class _Proj, class _Comp> 33 _Iter __lower_bound_impl(_Iter __first, _Sent __last, const _Type& __value, _Comp& __comp, _Proj& _… in __lower_bound_impl()
|
| H A D | move.h | 63 template <class _Type> 64 struct __is_trivially_move_assignable_unwrapped_impl<_Type*> : is_trivially_move_assignable<_Type> …
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | uninitialized_algorithms.h | 551 template <class _Alloc, class _Type> 552 struct __allocator_has_trivial_copy_construct : _Not<__has_construct<_Alloc, _Type*, const _Type&> … 554 template <class _Type> 555 struct __allocator_has_trivial_copy_construct<allocator<_Type>, _Type> : true_type {}; 558 class _Type, 565 __uninitialized_allocator_copy(_Alloc&, const _Type* __first1, const _Type* __last1, _Type* __first… 611 template <class _Alloc, class _Type> 612 struct __allocator_has_trivial_move_construct : _Not<__has_construct<_Alloc, _Type*, _Type&&> > {}; 614 template <class _Type> 615 struct __allocator_has_trivial_move_construct<allocator<_Type>, _Type> : true_type {}; [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | InputInfo.h | 54 InputInfo(types::ID _Type, const char *_Filename, const char *_BaseInput) in InputInfo() argument 55 : Kind(Filename), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo() 63 InputInfo(types::ID _Type, const llvm::opt::Arg *_InputArg, in InputInfo() argument 65 : Kind(InputArg), Act(nullptr), Type(_Type), BaseInput(_BaseInput) { in InputInfo()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | string-literal-with-embedded-nul.cpp | 10 typedef basic_string<C, T, A> _Type; typedef 14 _Type& operator+=(const C* s); 15 _Type& operator=(const C* s);
|
| /llvm-project-15.0.7/libcxx/include/__format/ |
| H A D | formatter_integer.h | 51 using _Type = __make_32_64_or_128_bit_t<_Tp>; member 52 …static_assert(!is_same<_Type, void>::value, "unsupported integral type used in __formatter_integer… 55 return __formatter::__format_integer(static_cast<_Type>(__value), __ctx, __specs);
|
| H A D | parser_std_format_spec.h | 72 using _Type = decltype(__arg); in __substitute_arg_id() 73 if constexpr (integral<_Type>) { in __substitute_arg_id() 74 if constexpr (signed_integral<_Type>) { in __substitute_arg_id() 80 using _CT = common_type_t<_Type, decltype(__format::__number_max)>; in __substitute_arg_id() 87 } else if constexpr (same_as<_Type, monostate>) in __substitute_arg_id()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \ 155 &DefineMatcher##_Type##OverloadId)(ParamType const &Param); \ 206 &DefineMatcher##_Type##OverloadId)(ParamType1 const &Param1, \ 297 ParamType> (&DefineMatcher##_Type##OverloadId)(ParamType const &Param); \ 350 ParamType1, ParamType2> (&DefineMatcher##_Type##OverloadId)( \ 488 &DefineMatcher##_Type##OverloadId##Flags)(llvm::StringRef, \ 491 &DefineMatcher##_Type##OverloadId)(llvm::StringRef); \ 546 &DefineMatcher##_Type##OverloadId##Flags)( \ 550 std::shared_ptr<llvm::Regex>> (&DefineMatcher##_Type##OverloadId)( \
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | hash.h | 671 template <class _Type, class> 672 using __enable_hash_helper_imp _LIBCPP_NODEBUG = _Type; 674 template <class _Type, class ..._Keys> 675 using __enable_hash_helper _LIBCPP_NODEBUG = __enable_hash_helper_imp<_Type, 679 template <class _Type, class ...> 680 using __enable_hash_helper _LIBCPP_NODEBUG = _Type;
|