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

Declarations

include/llvm/Support/JSON.h
   83 class Array;

References

include/llvm/ADT/DenseMap.h
  219         InsertIntoBucket(TheBucket, std::move(Key), std::forward<Ts>(Args)...);
  516                             ValueArgs &&... Values) {
  520     ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
include/llvm/ADT/STLExtras.h
  154 auto adl_begin(ContainerTy &&container)
  162 auto adl_end(ContainerTy &&container)
  178 auto adl_begin(ContainerTy &&container)
  184 auto adl_end(ContainerTy &&container)
 1193 auto find_if(R &&Range, UnaryPredicate P) -> decltype(adl_begin(Range)) {
include/llvm/Support/AlignOf.h
   24   T t;
   25   AlignerImpl<Ts...> rest;
   30   T t;
   35   char arr[sizeof(T)];
   36   SizerImpl<Ts...> rest;
   39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
   50       llvm::detail::SizerImpl<T, Ts...>)];
   50       llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/Error.h
  437   static const bool isRef = std::is_reference<T>::value;
  439   using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
  444   using storage_type = typename std::conditional<isRef, wrap, T>::type;
  445   using value_type = T;
  448   using reference = typename std::remove_reference<T>::type &;
  449   using const_reference = const typename std::remove_reference<T>::type &;
  450   using pointer = typename std::remove_reference<T>::type *;
  451   using const_pointer = const typename std::remove_reference<T>::type *;
  474   Expected(OtherT &&Val,
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  475            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  483     new (getStorage()) storage_type(std::forward<OtherT>(Val));
  492   Expected(Expected<OtherT> &&Other,
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  493            typename std::enable_if<std::is_convertible<OtherT, T>::value>::type
  594   template <class OtherT> void moveConstruct(Expected<OtherT> &&Other) {
include/llvm/Support/JSON.h
  123     return M.try_emplace(std::move(K), std::forward<Ts>(Args)...);
  144   const json::Array *getArray(StringRef K) const;
  145   json::Array *getArray(StringRef K);
  164   template <typename Collection> explicit Array(const Collection &C) {
  206   friend bool operator==(const Array &L, const Array &R) { return L.V == R.V; }
  206   friend bool operator==(const Array &L, const Array &R) { return L.V == R.V; }
  208 inline bool operator!=(const Array &L, const Array &R) { return !(L == R); }
  208 inline bool operator!=(const Array &L, const Array &R) { return !(L == R); }
  297   Value(json::Array &&Elements) : Type(T_Array) {
  298     create<json::Array>(std::move(Elements));
  301   Value(const std::vector<Elt> &C) : Value(json::Array(C)) {}
  436   const json::Array *getAsArray() const {
  437     return LLVM_LIKELY(Type == T_Array) ? &as<json::Array>() : nullptr;
  439   json::Array *getAsArray() {
  440     return LLVM_LIKELY(Type == T_Array) ? &as<json::Array>() : nullptr;
  453   template <typename T, typename... U> void create(U &&... V) {
  454     new (reinterpret_cast<T *>(Union.buffer)) T(std::forward<U>(V)...);
  454     new (reinterpret_cast<T *>(Union.buffer)) T(std::forward<U>(V)...);
  456   template <typename T> T &as() const {
  478                                       std::string, json::Array, json::Object>
lib/Support/JSON.cpp
   70 const json::Array *Object::getArray(StringRef K) const {
   75 json::Array *Object::getArray(StringRef K) {
  121     create<json::Array>(M.as<json::Array>());
  121     create<json::Array>(M.as<json::Array>());
  147     create<json::Array>(std::move(M.as<json::Array>()));
  147     create<json::Array>(std::move(M.as<json::Array>()));
  170     as<json::Array>().~Array();
  282     Array &A = *Out.getAsArray();
lib/TableGen/JSONBackend.cpp
   32   json::Array listSuperclasses(const Record &R);
   54     json::Array array;
   65     json::Array array;
   99     json::Array args;
  101       json::Array arg;
  133   std::map<std::string, json::Array> instance_lists;
  145     json::Array fields;
  158     json::Array superclasses;
tools/clang/include/clang/AST/JSONNodeDumper.h
  162   llvm::json::Array createCastPath(const CastExpr *C);
tools/clang/lib/AST/JSONNodeDumper.cpp
  305 llvm::json::Array JSONNodeDumper::createCastPath(const CastExpr *C) {
  306   llvm::json::Array Ret;
  514     llvm::json::Array Types;
  938   llvm::json::Array Protocols;
  954   llvm::json::Array Protocols;
  966   llvm::json::Array Protocols;
 1211   llvm::json::Array Path = createCastPath(CE);
 1517   llvm::json::Array Args;
 1531   llvm::json::Array Attrs;
 1549   llvm::json::Array Args;
 1586     llvm::json::Array Positions;
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  121                                            json::Array &Artifacts) {
  161                                            json::Array &Artifacts) {
  217                                      json::Array &Artifacts) {
  219   json::Array Locations;
  234                                    json::Array &Artifacts) {
  240                                  json::Array &Artifacts,
  296 static json::Array createRules(std::vector<const PathDiagnostic *> &Diags,
  298   json::Array Rules;
  324   json::Array Results, Artifacts;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
 3638   json::Array module_array;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1140   json::Array response_array;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  496 static llvm::Expected<json::Array>
  500   json::Array threads_array;
  559       json::Array medata_array;
  663       llvm::Expected<json::Array> threads_info = GetJSONThreadsInfo(
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  228   json::Array server_list;
tools/lldb/source/Utility/StructuredData.cpp
   26 static StructuredData::ObjectSP ParseJSONArray(json::Array *array);
   55   if (json::Array *A = value.getAsArray())
   88 static StructuredData::ObjectSP ParseJSONArray(json::Array *array) {
tools/lldb/tools/argdumper/argdumper.cpp
   14   json::Array Arguments;
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
  305 void AppendBreakpoint(lldb::SBBreakpoint &bp, llvm::json::Array &breakpoints) {
tools/lldb/tools/lldb-vscode/JSONUtils.h
  197 void AppendBreakpoint(lldb::SBBreakpoint &bp, llvm::json::Array &breakpoints);
tools/lldb/tools/lldb-vscode/VSCode.cpp
  273   llvm::json::Array scopes;
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
 1093   llvm::json::Array filters;
 1576   llvm::json::Array response_breakpoints;
 1809   llvm::json::Array response_breakpoints;
 2010   llvm::json::Array stackFrames;
 2184   llvm::json::Array threads;
 2283   llvm::json::Array variables;
 2465   llvm::json::Array variables;
 2542   llvm::json::Array response_breakpoints;
tools/llvm-cov/CoverageExporterJson.cpp
   64 json::Array renderSegment(const coverage::CoverageSegment &Segment) {
   69 json::Array renderRegion(const coverage::CountedRegion &Region) {
   76 json::Array renderRegions(ArrayRef<coverage::CountedRegion> Regions) {
   77   json::Array RegionArray;
  118 json::Array renderFileExpansions(const coverage::CoverageData &FileCoverage,
  120   json::Array ExpansionArray;
  126 json::Array renderFileSegments(const coverage::CoverageData &FileCoverage,
  128   json::Array SegmentArray;
  151 json::Array renderFiles(const coverage::CoverageMapping &Coverage,
  161   json::Array FileArray;
  179 json::Array renderFunctions(
  181   json::Array FunctionArray;
  206   auto Files = renderFiles(Coverage, SourceFiles, FileReports, Options);
  224   auto ExportArray = json::Array({std::move(Export)});
tools/polly/lib/Exchange/JSONExporter.cpp
   97 static json::Array exportArrays(const Scop &S) {
   98   json::Array Arrays;
  107     json::Array Sizes;
  148   json::Array Statements;
  156     json::Array Accesses;
  273   const json::Array &statements = *JScop.getArray("statements");
  355   const json::Array &statements = *JScop.getArray("statements");
  375     const json::Array &JsonAccesses = *Statement->getArray("accesses");
  576     const json::Array &SizesArray = *Array.getArray("sizes");
  633   const json::Array &Arrays = *JScop.getArray("arrays");
  660     const json::Array &SizesArray = *Array.getArray("sizes");
unittests/Support/JSONTest.cpp
  249   Array *A = O->getArray("array");
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
   98     move(_Tp&& __t) noexcept
usr/include/c++/7.4.0/bits/range_access.h
   48     begin(_Container& __cont) -> decltype(__cont.begin())
   58     begin(const _Container& __cont) -> decltype(__cont.begin())
   68     end(_Container& __cont) -> decltype(__cont.end())
   78     end(const _Container& __cont) -> decltype(__cont.end())
usr/include/c++/7.4.0/bits/stl_map.h
  103       typedef _Tp					mapped_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
usr/include/c++/7.4.0/bits/stl_pair.h
  209     : 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,
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
  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
  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;
 1526 	static void __test_aux(_To1);
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1538       typedef decltype(__test<_From, _To>(0)) type;
 1545     : public __is_convertible_helper<_From, _To>::type
 1545     : public __is_convertible_helper<_From, _To>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>
 2171     { typedef _Iffalse type; };
utils/unittest/googletest/include/gtest/gtest-printers.h
  276   static ::std::string Format(const ToPrint& value) {
  351     const T1& value, const T2& /* other_operand */) {
  351     const T1& value, const T2& /* other_operand */) {
  352   return FormatForComparison<T1, T2>::Format(value);
  352   return FormatForComparison<T1, T2>::Format(value);
  366 void UniversalPrint(const T& value, ::std::ostream* os);
  373                     const C& container, ::std::ostream* os) {
  377   for (typename C::const_iterator it = container.begin();
  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) {
  856   typedef T T1;
  983   internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h
 1377                                    const T1& lhs, const T2& rhs) {
 1377                                    const T1& lhs, const T2& rhs) {
 1389                             const T1& lhs,
 1390                             const T2& rhs) {
 1419                                  const T1& lhs,
 1420                                  const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
   94 ::std::string PrintToString(const T& value);
  933                             typename C::iterator* /* it */ = NULL,
  934                             typename C::const_iterator* /* const_it */ = NULL) {