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

References

include/llvm/Support/YAMLTraits.h
  313   using Signature_enumeration = void (*)(class IO&, T&);
  322     (sizeof(test<ScalarEnumerationTraits<T>>(nullptr)) == 1);
  329   using Signature_bitset = void (*)(class IO&, T&);
  337   static bool const value = (sizeof(test<ScalarBitSetTraits<T>>(nullptr)) == 1);
  344   using Signature_input = StringRef (*)(StringRef, void*, T&);
  345   using Signature_output = void (*)(const T&, void*, raw_ostream&);
  357       (sizeof(test<ScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  364   using Signature_input = StringRef (*)(StringRef, void *, T &);
  365   using Signature_output = void (*)(const T &, void *, raw_ostream &);
  375       (sizeof(test<BlockScalarTraits<T>>(nullptr, nullptr)) == 1);
  380   using Signature_input = StringRef (*)(StringRef, StringRef, void *, T &);
  381   using Signature_output = void (*)(const T &, void *, raw_ostream &,
  383   using Signature_mustQuote = QuotingType (*)(const T &, StringRef);
  393       (sizeof(test<TaggedScalarTraits<T>>(nullptr, nullptr, nullptr)) == 1);
  412   using Signature_mapping = void (*)(class IO &, T &);
  419   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  438   using Signature_validate = StringRef (*)(class IO &, T &);
  445   static bool const value = (sizeof(test<MappingTraits<T>>(nullptr)) == 1);
  452   using Signature_size = size_t (*)(class IO&, T&);
  460   static bool const value =  (sizeof(test<SequenceTraits<T>>(nullptr)) == 1);
  467   using Signature_input = void (*)(IO &io, StringRef key, T &v);
  476       (sizeof(test<CustomMappingTraits<T>>(nullptr)) == 1);
  516   using Signature_size = size_t (*)(class IO &, T &);
  524   static bool const value = (sizeof(test<DocumentListTraits<T>>(nullptr))==1);
  528   using Signature_getKind = NodeKind (*)(const T &);
  535   static bool const value = (sizeof(test<PolymorphicTraits<T>>(nullptr)) == 1);
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  793   void enumCase(T &Val, const char* Str, const T ConstVal) {
  801   void enumCase(T &Val, const char* Str, const uint32_t ConstVal) {
  849   template <typename T> void mapRequired(const char *Key, T &Val) {
  941   void processKey(const char *Key, T &Val, bool Required, Context &Ctx) {
  968 typename std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type
  969 yamlize(IO &io, T &Val, bool, EmptyContext &Ctx) {
  971   ScalarEnumerationTraits<T>::enumeration(io, Val);
tools/clang/include/clang/Index/IndexSymbol.h
  139   SymbolKind Kind;
  160 StringRef getSymbolKindString(SymbolKind K);
tools/clang/lib/Index/IndexSymbol.cpp
   87   Info.Kind = SymbolKind::Unknown;
  109       Info.Kind = SymbolKind::Struct; break;
  111       Info.Kind = SymbolKind::Union; break;
  113       Info.Kind = SymbolKind::Class;
  117       Info.Kind = SymbolKind::Protocol;
  121       Info.Kind = SymbolKind::Enum; break;
  144     Info.Kind = SymbolKind::Variable;
  146       Info.Kind = SymbolKind::Parameter;
  148       Info.Kind = SymbolKind::StaticProperty;
  170       Info.Kind = SymbolKind::Module;
  173       Info.Kind = SymbolKind::TypeAlias; break; // Lang = C
  175       Info.Kind = SymbolKind::Function;
  179       Info.Kind = SymbolKind::Field;
  187       Info.Kind = SymbolKind::EnumConstant; break;
  190       Info.Kind = SymbolKind::Class;
  200       Info.Kind = SymbolKind::Protocol;
  205       Info.Kind = SymbolKind::Extension;
  218       Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod;
  218       Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod;
  233       Info.Kind = SymbolKind::InstanceProperty;
  242       Info.Kind = SymbolKind::Field;
  247       Info.Kind = SymbolKind::Namespace;
  251       Info.Kind = SymbolKind::NamespaceAlias;
  255       Info.Kind = SymbolKind::Constructor;
  265       Info.Kind = SymbolKind::Destructor;
  269       Info.Kind = SymbolKind::ConversionFunction;
  275         Info.Kind = SymbolKind::StaticMethod;
  277         Info.Kind = SymbolKind::InstanceMethod;
  282       Info.Kind = SymbolKind::Class;
  287       Info.Kind = SymbolKind::Function;
  293           Info.Kind = SymbolKind::Constructor;
  295           Info.Kind = SymbolKind::Destructor;
  297           Info.Kind = SymbolKind::ConversionFunction;
  300             Info.Kind = SymbolKind::StaticMethod;
  302             Info.Kind = SymbolKind::InstanceMethod;
  307       Info.Kind = SymbolKind::TypeAlias;
  312       Info.Kind = SymbolKind::TypeAlias;
  316       Info.Kind = SymbolKind::Using;
  322       Info.Kind = SymbolKind::Using;
  328       Info.Kind = SymbolKind::Using;
  332       Info.Kind = SymbolKind::Variable;
  336       Info.Kind = SymbolKind::InstanceProperty;
  365   if (Info.Kind == SymbolKind::Unknown)
  390   Info.Kind = SymbolKind::Macro;
  490 StringRef index::getSymbolKindString(SymbolKind K) {
  492   case SymbolKind::Unknown: return "<unknown>";
  493   case SymbolKind::Module: return "module";
  494   case SymbolKind::Namespace: return "namespace";
  495   case SymbolKind::NamespaceAlias: return "namespace-alias";
  496   case SymbolKind::Macro: return "macro";
  497   case SymbolKind::Enum: return "enum";
  498   case SymbolKind::Struct: return "struct";
  499   case SymbolKind::Class: return "class";
  500   case SymbolKind::Protocol: return "protocol";
  501   case SymbolKind::Extension: return "extension";
  502   case SymbolKind::Union: return "union";
  503   case SymbolKind::TypeAlias: return "type-alias";
  504   case SymbolKind::Function: return "function";
  505   case SymbolKind::Variable: return "variable";
  506   case SymbolKind::Field: return "field";
  507   case SymbolKind::EnumConstant: return "enumerator";
  508   case SymbolKind::InstanceMethod: return "instance-method";
  509   case SymbolKind::ClassMethod: return "class-method";
  510   case SymbolKind::StaticMethod: return "static-method";
  511   case SymbolKind::InstanceProperty: return "instance-property";
  512   case SymbolKind::ClassProperty: return "class-property";
  513   case SymbolKind::StaticProperty: return "static-property";
  514   case SymbolKind::Constructor: return "constructor";
  515   case SymbolKind::Destructor: return "destructor";
  516   case SymbolKind::ConversionFunction: return "conversion-func";
  517   case SymbolKind::Parameter: return "param";
  518   case SymbolKind::Using: return "using";
tools/clang/tools/extra/clangd/CodeComplete.cpp
   77 CompletionItemKind toCompletionItemKind(index::SymbolKind Kind) {
   78   using SK = index::SymbolKind;
  178       case index::SymbolKind::ClassMethod:
  179       case index::SymbolKind::InstanceMethod:
  180       case index::SymbolKind::StaticMethod:
  186       case index::SymbolKind::Function:
tools/clang/tools/extra/clangd/Protocol.cpp
  216 SymbolKind indexSymbolKindToSymbolKind(index::SymbolKind Kind) {
  218   case index::SymbolKind::Unknown:
  220   case index::SymbolKind::Module:
  222   case index::SymbolKind::Namespace:
  224   case index::SymbolKind::NamespaceAlias:
  226   case index::SymbolKind::Macro:
  228   case index::SymbolKind::Enum:
  230   case index::SymbolKind::Struct:
  232   case index::SymbolKind::Class:
  234   case index::SymbolKind::Protocol:
  236   case index::SymbolKind::Extension:
  238   case index::SymbolKind::Union:
  240   case index::SymbolKind::TypeAlias:
  242   case index::SymbolKind::Function:
  244   case index::SymbolKind::Variable:
  246   case index::SymbolKind::Field:
  248   case index::SymbolKind::EnumConstant:
  250   case index::SymbolKind::InstanceMethod:
  251   case index::SymbolKind::ClassMethod:
  252   case index::SymbolKind::StaticMethod:
  254   case index::SymbolKind::InstanceProperty:
  255   case index::SymbolKind::ClassProperty:
  256   case index::SymbolKind::StaticProperty:
  258   case index::SymbolKind::Constructor:
  259   case index::SymbolKind::Destructor:
  261   case index::SymbolKind::ConversionFunction:
  263   case index::SymbolKind::Parameter:
  265   case index::SymbolKind::Using:
tools/clang/tools/extra/clangd/Protocol.h
  340 SymbolKind indexSymbolKindToSymbolKind(index::SymbolKind Kind);
tools/clang/tools/extra/clangd/Quality.cpp
  120   case index::SymbolKind::Namespace:
  121   case index::SymbolKind::NamespaceAlias:
  123   case index::SymbolKind::Macro:
  125   case index::SymbolKind::Enum:
  126   case index::SymbolKind::Struct:
  127   case index::SymbolKind::Class:
  128   case index::SymbolKind::Protocol:
  129   case index::SymbolKind::Extension:
  130   case index::SymbolKind::Union:
  131   case index::SymbolKind::TypeAlias:
  133   case index::SymbolKind::Function:
  134   case index::SymbolKind::ClassMethod:
  135   case index::SymbolKind::InstanceMethod:
  136   case index::SymbolKind::StaticMethod:
  137   case index::SymbolKind::InstanceProperty:
  138   case index::SymbolKind::ClassProperty:
  139   case index::SymbolKind::StaticProperty:
  140   case index::SymbolKind::ConversionFunction:
  142   case index::SymbolKind::Destructor:
  144   case index::SymbolKind::Constructor:
  146   case index::SymbolKind::Variable:
  147   case index::SymbolKind::Field:
  148   case index::SymbolKind::EnumConstant:
  149   case index::SymbolKind::Parameter:
  151   case index::SymbolKind::Using:
  152   case index::SymbolKind::Module:
  153   case index::SymbolKind::Unknown:
  171   case index::SymbolKind::InstanceMethod:
  172   case index::SymbolKind::InstanceProperty:
  173   case index::SymbolKind::Field:
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  114 bool shouldCollectIncludePath(index::SymbolKind Kind) {
  115   using SK = index::SymbolKind;
tools/clang/tools/extra/clangd/index/YAMLSerialization.cpp
  221   static void enumeration(IO &IO, SymbolKind &Value) {
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
 1920   Symbol Foo0 = sym("foo", index::SymbolKind::Function, "@F@\\0#");
 1922   Symbol Foo1 = sym("foo", index::SymbolKind::Function, "@F@\\0#I#");
 1924   Symbol Foo2 = sym("foo", index::SymbolKind::Function, "@F@\\0#I#I#");
 2213   Sym.SymInfo.Kind = index::SymbolKind::Macro;
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp
   39 Symbol sym(llvm::StringRef QName, index::SymbolKind Kind,
   61   return sym(Name, index::SymbolKind::Function, "@F@\\0#"); // no args
   65   return sym(Name, index::SymbolKind::Class, "@S@\\0");
   69   return sym(Name, index::SymbolKind::Variable, "@\\0");
   73   return sym(Name, index::SymbolKind::Namespace, "@N@\\0");
tools/clang/tools/extra/clangd/unittests/TestIndex.h
   23 Symbol sym(llvm::StringRef QName, index::SymbolKind Kind,
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
 1132 static CXIdxEntityKind getEntityKindFromSymbolKind(SymbolKind K, SymbolLanguage L);
 1241 static CXIdxEntityKind getEntityKindFromSymbolKind(SymbolKind K, SymbolLanguage Lang) {
 1243   case SymbolKind::Unknown:
 1244   case SymbolKind::Module:
 1245   case SymbolKind::Macro:
 1246   case SymbolKind::ClassProperty:
 1247   case SymbolKind::Using:
 1250   case SymbolKind::Enum: return CXIdxEntity_Enum;
 1251   case SymbolKind::Struct: return CXIdxEntity_Struct;
 1252   case SymbolKind::Union: return CXIdxEntity_Union;
 1253   case SymbolKind::TypeAlias:
 1257   case SymbolKind::Function: return CXIdxEntity_Function;
 1258   case SymbolKind::Variable: return CXIdxEntity_Variable;
 1259   case SymbolKind::Field:
 1263   case SymbolKind::EnumConstant: return CXIdxEntity_EnumConstant;
 1264   case SymbolKind::Class:
 1268   case SymbolKind::Protocol:
 1272   case SymbolKind::Extension: return CXIdxEntity_ObjCCategory;
 1273   case SymbolKind::InstanceMethod:
 1277   case SymbolKind::ClassMethod: return CXIdxEntity_ObjCClassMethod;
 1278   case SymbolKind::StaticMethod: return CXIdxEntity_CXXStaticMethod;
 1279   case SymbolKind::InstanceProperty: return CXIdxEntity_ObjCProperty;
 1280   case SymbolKind::StaticProperty: return CXIdxEntity_CXXStaticVariable;
 1281   case SymbolKind::Namespace: return CXIdxEntity_CXXNamespace;
 1282   case SymbolKind::NamespaceAlias: return CXIdxEntity_CXXNamespaceAlias;
 1283   case SymbolKind::Constructor: return CXIdxEntity_CXXConstructor;
 1284   case SymbolKind::Destructor: return CXIdxEntity_CXXDestructor;
 1285   case SymbolKind::ConversionFunction: return CXIdxEntity_CXXConversionFunction;
 1286   case SymbolKind::Parameter: return CXIdxEntity_Variable;
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;
 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);