reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/STLExtras.h
  108   Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
  112   static Ret callback_fn(intptr_t callable, Params ...params) {
  114         std::forward<Params>(params)...);
  129   Ret operator()(Params ...params) const {
  130     return callback(callable, std::forward<Params>(params)...);
tools/clang/include/clang/Index/IndexSymbol.h
  152                             llvm::function_ref<void(SymbolRole)> Fn);
  154                             llvm::function_ref<bool(SymbolRole)> Fn);
tools/clang/lib/Index/IndexBody.cpp
   67           Roles |= (unsigned)(unsigned)SymbolRole::Read;
   77         Roles |= (unsigned)SymbolRole::Write;
   81         Roles |= (unsigned)SymbolRole::Read;
   82         Roles |= (unsigned)SymbolRole::Write;
   84         Roles |= (unsigned)SymbolRole::AddressOf;
   89         Roles |= (unsigned)SymbolRole::Read;
   90         Roles |= (unsigned)SymbolRole::Write;
   99               Roles |= (unsigned)SymbolRole::Dynamic;
  103                   Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy,
  111             Roles |= (unsigned)SymbolRole::Write;
  115             Roles |= (unsigned)SymbolRole::Read;
  116             Roles |= (unsigned)SymbolRole::Write;
  118             Roles |= (unsigned)SymbolRole::AddressOf;
  129     Roles |= (unsigned)SymbolRole::Call;
  131       Relations.emplace_back((unsigned)SymbolRole::RelationCalledBy, FD);
  133       Relations.emplace_back((unsigned)SymbolRole::RelationCalledBy, MD);
  258         Roles |= (unsigned)SymbolRole::Implicit;
  261         Roles |= (unsigned)SymbolRole::Dynamic;
  267             Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy,
  271             Relations.emplace_back((unsigned)SymbolRole::RelationReceivedBy,
  330     Roles |= (unsigned)SymbolRole::Implicit;
tools/clang/lib/Index/IndexDecl.cpp
  132       Relations.emplace_back((unsigned) SymbolRole::RelationOverrideOf,
  136       Relations.emplace_back((unsigned)SymbolRole::RelationAccessorOf,
  155     SymbolRoleSet Roles = (SymbolRoleSet)SymbolRole::Dynamic;
  160         Roles |= (SymbolRoleSet)SymbolRole::Implicit;
  224             SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND);
  234         Roles |= (unsigned)SymbolRole::Dynamic;
  236         Relations.emplace_back((unsigned)SymbolRole::RelationOverrideOf, O);
  242           SymbolRelation(SymbolRoleSet(SymbolRole::RelationSpecializationOf),
  251                                (unsigned)SymbolRole::NameReference);
  259                                      (unsigned)SymbolRole::Write);
  268                                  (unsigned)SymbolRole::NameReference);
  377         roles |= (SymbolRoleSet)SymbolRole::Implicit;
  401           superRoles |= (SymbolRoleSet)SymbolRole::Implicit;
  523       Relations.push_back({(SymbolRoleSet)SymbolRole::RelationAccessorOf, ID});
  526       Roles |= (SymbolRoleSet)SymbolRole::Implicit;
  535       SymbolRoleSet(SymbolRole::Dynamic) | SymbolRoleSet(SymbolRole::Implicit);
  535       SymbolRoleSet(SymbolRole::Dynamic) | SymbolRoleSet(SymbolRole::Implicit);
  558           IvarRoles = (SymbolRoleSet)SymbolRole::Implicit;
  560           IvarRoles = (SymbolRoleSet)SymbolRole::Implicit;
  646         D, SymbolRelation(SymbolRoleSet(SymbolRole::RelationSpecializationOf),
tools/clang/lib/Index/IndexSymbol.cpp
  398                                    llvm::function_ref<bool(SymbolRole)> Fn) {
  432                                    llvm::function_ref<void(SymbolRole)> Fn) {
  447     case SymbolRole::Declaration: OS << "Decl"; break;
  448     case SymbolRole::Definition: OS << "Def"; break;
  449     case SymbolRole::Reference: OS << "Ref"; break;
  450     case SymbolRole::Read: OS << "Read"; break;
  451     case SymbolRole::Write: OS << "Writ"; break;
  452     case SymbolRole::Call: OS << "Call"; break;
  453     case SymbolRole::Dynamic: OS << "Dyn"; break;
  454     case SymbolRole::AddressOf: OS << "Addr"; break;
  455     case SymbolRole::Implicit: OS << "Impl"; break;
  456     case SymbolRole::Undefinition: OS << "Undef"; break;
  457     case SymbolRole::RelationChildOf: OS << "RelChild"; break;
  458     case SymbolRole::RelationBaseOf: OS << "RelBase"; break;
  459     case SymbolRole::RelationOverrideOf: OS << "RelOver"; break;
  460     case SymbolRole::RelationReceivedBy: OS << "RelRec"; break;
  461     case SymbolRole::RelationCalledBy: OS << "RelCall"; break;
  462     case SymbolRole::RelationExtendedBy: OS << "RelExt"; break;
  463     case SymbolRole::RelationAccessorOf: OS << "RelAcc"; break;
  464     case SymbolRole::RelationContainedBy: OS << "RelCont"; break;
  465     case SymbolRole::RelationIBTypeOf: OS << "RelIBType"; break;
  466     case SymbolRole::RelationSpecializationOf: OS << "RelSpecialization"; break;
  467     case SymbolRole::NameReference: OS << "NameReference"; break;
tools/clang/lib/Index/IndexTypeSourceInfo.cpp
   32       Relations.emplace_back((unsigned)SymbolRole::RelationBaseOf, Parent);
   36       Relations.emplace_back((unsigned)SymbolRole::RelationIBTypeOf, Parent);
tools/clang/lib/Index/IndexingAction.cpp
  156           static_cast<unsigned>(index::SymbolRole::Definition),
tools/clang/lib/Index/IndexingContext.cpp
  102                                      (SymbolRoleSet)SymbolRole::Reference,
  143   SymbolRoleSet Roles = (unsigned)SymbolRole::Declaration;
  145     Roles |= (unsigned)SymbolRole::Implicit;
  313       case SymbolRole::RelationChildOf:
  314       case SymbolRole::RelationBaseOf:
  315       case SymbolRole::RelationOverrideOf:
  316       case SymbolRole::RelationExtendedBy:
  317       case SymbolRole::RelationAccessorOf:
  318       case SymbolRole::RelationIBTypeOf:
  321       case SymbolRole::Declaration:
  322       case SymbolRole::Definition:
  323       case SymbolRole::Reference:
  324       case SymbolRole::Read:
  325       case SymbolRole::Write:
  326       case SymbolRole::Call:
  327       case SymbolRole::Dynamic:
  328       case SymbolRole::AddressOf:
  329       case SymbolRole::Implicit:
  330       case SymbolRole::Undefinition:
  331       case SymbolRole::RelationReceivedBy:
  332       case SymbolRole::RelationCalledBy:
  333       case SymbolRole::RelationContainedBy:
  334       case SymbolRole::RelationSpecializationOf:
  335       case SymbolRole::NameReference:
  399     Roles |= (unsigned)SymbolRole::Reference;
  401     Roles |= (unsigned)SymbolRole::Definition;
  403     Roles |= (unsigned)SymbolRole::Declaration;
  428         (unsigned)SymbolRole::RelationContainedBy,
  433         (unsigned)SymbolRole::RelationChildOf,
  451   SymbolRoleSet Roles = (unsigned)SymbolRole::Definition;
  458   SymbolRoleSet Roles = (unsigned)SymbolRole::Undefinition;
  465   SymbolRoleSet Roles = (unsigned)SymbolRole::Reference;
tools/clang/tools/extra/clangd/XRefs.cpp
  163     if (Roles & static_cast<unsigned>(index::SymbolRole::NameReference))
  431       if (Ref.Role & index::SymbolRoleSet(index::SymbolRole::Write))
  433       else if (Ref.Role & index::SymbolRoleSet(index::SymbolRole::Read))
tools/clang/tools/extra/clangd/index/Ref.h
   30   Declaration = static_cast<uint8_t>(index::SymbolRole::Declaration),
   31   Definition = static_cast<uint8_t>(index::SymbolRole::Definition),
   32   Reference = static_cast<uint8_t>(index::SymbolRole::Reference),
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  177   return (Roles & static_cast<unsigned>(index::SymbolRole::Definition)) &&
  187   return R.Roles & static_cast<unsigned>(index::SymbolRole::RelationBaseOf);
  264       !(Roles & static_cast<unsigned>(index::SymbolRole::Definition)))
  280       (Roles & static_cast<unsigned>(index::SymbolRole::Reference)) &&
  296       !(Roles & (static_cast<unsigned>(index::SymbolRole::Declaration) |
  297                  static_cast<unsigned>(index::SymbolRole::Definition)));
  337   if (Roles & static_cast<unsigned>(index::SymbolRole::Definition))
  371       (Roles & static_cast<unsigned>(index::SymbolRole::Reference)) &&
  376   if (!(Roles & static_cast<unsigned>(index::SymbolRole::Declaration) ||
  377         Roles & static_cast<unsigned>(index::SymbolRole::Definition)))
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  162   if (Roles & (unsigned)SymbolRole::Reference) {
  185     if (Roles & (unsigned)SymbolRole::Implicit) {
  213         if (SymRel.Roles & (unsigned)SymbolRole::RelationChildOf)
  227   if (Roles & (SymbolRoleSet)SymbolRole::Declaration)
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/tuple
   56     struct __is_empty_non_tuple : is_empty<_Tp> { };
  125       constexpr _Head_base(const _Head& __h)
  132         constexpr _Head_base(_UHead&& __h)
  159       static constexpr _Head&
  162       static constexpr const _Head&
  165       _Head _M_head_impl;
  344     : private _Head_base<_Idx, _Head>
  348       typedef _Head_base<_Idx, _Head> _Base;
  350       static constexpr _Head&
  353       static constexpr const _Head&
  360       constexpr _Tuple_impl(const _Head& __head)
  365         constexpr _Tuple_impl(_UHead&& __head)
  376         constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
  380         constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
  390 		    const _Head& __head)
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  473       return __and_<is_constructible<_Elements, const _UElements&>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  479       return __and_<is_convertible<const _UElements&, _Elements>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  485       return __and_<is_constructible<_Elements, _UElements&&>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  491       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
  508       return  __not_<is_same<tuple<_Elements...>,
  556     class tuple : public _Tuple_impl<0, _Elements...>
  558       typedef _Tuple_impl<0, _Elements...> _Inherited;
  598             _Elements...>;
  608         constexpr tuple(const _Elements&... __elements)
  619       explicit constexpr tuple(const _Elements&... __elements)
  628                       _Elements...>;
  636                       _Elements...>;
  646         constexpr tuple(_UElements&&... __elements)
  668             _Elements...>;
  730 	      const _Elements&... __elements)
  741                        const _Elements&... __elements)
 1288       typedef _Head type;
 1302     constexpr _Head&
 1303     __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1307     constexpr const _Head&
 1308     __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
 1309     { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1313     constexpr __tuple_element_t<__i, tuple<_Elements...>>&
 1314     get(tuple<_Elements...>& __t) noexcept
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1319     constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
 1320     get(const tuple<_Elements...>& __t) noexcept
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1325     constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
 1326     get(tuple<_Elements...>&& __t) noexcept
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
  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
  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
  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
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  140   static void PrintValue(const T& value, ::std::ostream* os) {
  205     ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
  206   TypeWithoutFormatter<T,
  207       (internal::IsAProtocolMessage<T>::value ? kProtobuf :
  208        internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
  223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
  366 void UniversalPrint(const T& value, ::std::ostream* os);
  373                     const C& container, ::std::ostream* os) {
  439                     const T& value, ::std::ostream* os) {
  455 void PrintTo(const T& value, ::std::ostream* os) {
  478   DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
  699   static void Print(const T& value, ::std::ostream* os) {
  784   static void Print(const T& value, ::std::ostream* os) {
  844 void UniversalTersePrint(const T& value, ::std::ostream* os) {
  845   UniversalTersePrinter<T>::Print(value, os);
  856   typedef T T1;
  895   typedef ::std::tuple<Types...> Tuple;
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
   29   static const T& printable(const T& V) { return V; }
   29   static const T& printable(const T& V) { return V; }
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
   37   return StreamSwitch<T>::printable(V);