reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
40 struct DenseMapPair : public std::pair<KeyT, ValueT> { 45 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; } 46 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; } 66 using mapped_type = ValueT; 69 using iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>; 71 DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true>; 123 is_trivially_copyable<ValueT>::value) { 132 P->getSecond().~ValueT(); 185 ValueT lookup(const_arg_type_t<KeyT> Val) const { 195 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { 202 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { 249 std::pair<iterator, bool> insert_as(std::pair<KeyT, ValueT> &&KV, 277 TheBucket->getSecond().~ValueT(); 299 ValueT &operator[](const KeyT &Key) { 311 ValueT &operator[](KeyT &&Key) { 338 P->getSecond().~ValueT(); 380 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); 384 B->getSecond().~ValueT(); 392 const DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT> &other) { 400 is_trivially_copyable<ValueT>::value) 410 ValueT(other.getBuckets()[i].getSecond()); 520 ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...); 526 ValueT &&Value, LookupKeyT &Lookup) { 684 class DenseMap : public DenseMapBase<DenseMap<KeyT, ValueT, KeyInfoT, BucketT>, 685 KeyT, ValueT, KeyInfoT, BucketT> { 690 using BaseT = DenseMapBase<DenseMap, KeyT, ValueT, KeyInfoT, BucketT>; 1163 using ConstIterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, true>; 1199 const DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc> &I)include/llvm/Support/type_traits.h
91 T t; 122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{}); 122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{}); 122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{}); 130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{}); 130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{}); 130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{}); 145 std::is_copy_constructible<detail::trivial_helper<T>>::value; 147 !std::is_copy_constructible<T>::value; 151 std::is_move_constructible<detail::trivial_helper<T>>::value; 153 !std::is_move_constructible<T>::value; 157 is_copy_assignable<detail::trivial_helper<T>>::value; 159 !is_copy_assignable<T>::value; 163 is_move_assignable<detail::trivial_helper<T>>::value; 165 !is_move_assignable<T>::value; 169 std::is_destructible<detail::trivial_helper<T>>::value;tools/clang/include/clang/Analysis/Analyses/Consumed.h
143 using VarMapType = llvm::DenseMap<const VarDecl *, ConsumedState>; 145 llvm::DenseMap<const CXXBindTemporaryExpr *, ConsumedState>; 168 ConsumedState getState(const VarDecl *Var) const; 171 ConsumedState getState(const CXXBindTemporaryExpr *Tmp) const; 192 void setState(const VarDecl *Var, ConsumedState State); 195 void setState(const CXXBindTemporaryExpr *Tmp, ConsumedState State); 244 ConsumedState ExpectedReturnState; 257 ConsumedState getExpectedReturnState() const { return ExpectedReturnState; }tools/clang/lib/Analysis/Consumed.cpp
103 static ConsumedState invertConsumedUnconsumed(ConsumedState State) { 103 static ConsumedState invertConsumedUnconsumed(ConsumedState State) { 118 ConsumedState State) { 120 ConsumedState MappedAttrState = CS_None; 169 static bool isKnownState(ConsumedState State) { 193 static ConsumedState mapConsumableAttrState(const QualType QT) { 210 static ConsumedState 223 static ConsumedState 236 static ConsumedState mapSetTypestateAttrState(const SetTypestateAttr *STAttr) { 248 static StringRef stateToString(ConsumedState State) { 265 static ConsumedState testsFor(const FunctionDecl *FunDecl) { 280 ConsumedState TestsFor; 311 ConsumedState State; 323 PropagationInfo(const VarDecl *Var, ConsumedState TestsFor) 339 const VarDecl *LVar, ConsumedState LTestsFor, 340 const VarDecl *RVar, ConsumedState RTestsFor) 350 PropagationInfo(ConsumedState State) 356 const ConsumedState &getState() const { 386 ConsumedState getAsState(const ConsumedStateMap *StateMap) const { 447 ConsumedState State) { 488 void copyInfo(const Expr *From, const Expr *To, ConsumedState CS); 489 ConsumedState getInfo(const Expr *From); 490 void setInfo(const Expr *To, ConsumedState NS); 545 ConsumedState NS) { 549 ConsumedState CS = PInfo.getAsState(StateMap); 558 ConsumedState ConsumedStmtVisitor::getInfo(const Expr *From) { 568 void ConsumedStmtVisitor::setInfo(const Expr *To, ConsumedState NS) { 589 ConsumedState VarState = StateMap->getState(PInfo.getVar()); 598 ConsumedState TmpState = PInfo.getAsState(StateMap); 634 ConsumedState ParamState = PInfo.getAsState(StateMap); 635 ConsumedState ExpectedState = mapParamTypestateAttrState(PTA); 691 ConsumedState ReturnState; 782 ConsumedState RetState = mapReturnTypestateAttrState(RTA); 791 ConsumedState NS = 797 ConsumedState RetState = mapConsumableAttrState(ThisType); 818 ConsumedState CS = getInfo(Call->getArg(1)); 859 ConsumedState ParamState = consumed::CS_None; 877 ConsumedState ExpectedState = Analyzer.getExpectedReturnState(); 883 ConsumedState RetState = Entry->second.getAsState(StateMap); 922 ConsumedState St = PInfo.getAsState(StateMap); 938 ConsumedState VarState = ThenStates->getState(Test.Var); 956 ConsumedState LState = LTest.Var ? ThenStates->getState(LTest.Var) : CS_None, 1100 ConsumedState ExpectedState = mapReturnTypestateAttrState(RTA); 1113 ConsumedState ConsumedStateMap::getState(const VarDecl *Var) const { 1122 ConsumedState 1133 ConsumedState LocalState; 1155 ConsumedState LocalState; 1178 void ConsumedStateMap::setState(const VarDecl *Var, ConsumedState State) { 1183 ConsumedState State) { 1272 ConsumedState VarState = CurrStates->getState(Test.Var);usr/include/c++/7.4.0/bits/move.h
98 move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/stl_pair.h209 : private __pair_base<_T1, _T2> 212 typedef _T2 second_type; /// @c second_type is the second bound type 215 _T2 second; /// @c second is a copy of the second object 252 using _PCCP = _PCC<true, _T1, _T2>; 260 constexpr pair(const _T1& __a, const _T2& __b) 269 explicit constexpr pair(const _T1& __a, const _T2& __b) 283 _T1, _T2>; 311 constexpr pair(_U1&& __x, const _T2& __y) 318 explicit constexpr pair(_U1&& __x, const _T2& __y) 380 is_copy_assignable<_T2>>::value, 391 is_move_assignable<_T2>>::value, 403 is_assignable<_T2&, const _U2&>>::value, 403 is_assignable<_T2&, const _U2&>>::value, 405 operator=(const pair<_U1, _U2>& __p) 414 is_assignable<_T2&, _U2&&>>::value, 414 is_assignable<_T2&, _U2&&>>::value, 416 operator=(pair<_U1, _U2>&& __p)usr/include/c++/7.4.0/type_traits
215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type 326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type 354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type 581 : public __or_<is_lvalue_reference<_Tp>, 582 is_rvalue_reference<_Tp>>::type 588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type 588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type 601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>, 601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>, 602 is_void<_Tp>>>::type 611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>, 611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>, 611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>, 612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type 612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type 638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type 638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type 762 typename add_rvalue_reference<_Tp>::type declval() noexcept; 777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>> 777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>> 825 : public __is_destructible_safe<_Tp>::type 889 typedef decltype(__test<_Tp>(0)) type; 894 : public __and_<__not_<is_void<_Tp>>, 895 __is_default_constructible_impl<_Tp>> 915 : public __is_default_constructible_atom<_Tp>::type 921 : public __is_default_constructible_safe<_Tp>::type 984 typedef decltype(__test<_Tp, _Arg>(0)) type; 989 : public __and_<is_destructible<_Tp>, 990 __is_direct_constructible_impl<_Tp, _Arg>> 1072 __is_direct_constructible_ref_cast<_Tp, _Arg>, 1073 __is_direct_constructible_new_safe<_Tp, _Arg> 1079 : public __is_direct_constructible_new<_Tp, _Arg>::type 1119 : public __is_direct_constructible<_Tp, _Arg> 1130 : public __is_constructible_impl<_Tp, _Args...>::type 1142 : public is_constructible<_Tp, const _Tp&> 1142 : public is_constructible<_Tp, const _Tp&> 1148 : public __is_copy_constructible_impl<_Tp> 1160 : public is_constructible<_Tp, _Tp&&> 1160 : public is_constructible<_Tp, _Tp&&> 1166 : public __is_move_constructible_impl<_Tp> 1286 : public is_assignable<_Tp&, const _Tp&> 1286 : public is_assignable<_Tp&, const _Tp&> 1292 : public __is_copy_assignable_impl<_Tp> 1304 : public is_assignable<_Tp&, _Tp&&> 1304 : public is_assignable<_Tp&, _Tp&&> 1310 : public __is_move_assignable_impl<_Tp> 1377 static void __helper(const _Tp&); 1380 static true_type __test(const _Tp&, 1381 decltype(__helper<const _Tp&>({}))* = 0); 1390 typedef decltype(__test(declval<_Tp>())) type; 1395 : public __is_implicitly_default_constructible_impl<_Tp>::type 1400 : public __and_<is_default_constructible<_Tp>, 1401 __is_implicitly_default_constructible_safe<_Tp>> 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1633 { typedef _Tp type; }; 1659 { typedef _Tp&& type; }; 1664 : public __add_rvalue_reference_helper<_Tp>