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

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/Support/AlignOf.h
   25   AlignerImpl<Ts...> rest;
   30   T 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)...);
  142   const json::Object *getObject(StringRef K) const;
  143   json::Object *getObject(StringRef K);
  147 bool operator==(const Object &LHS, const Object &RHS);
  147 bool operator==(const Object &LHS, const Object &RHS);
  148 inline bool operator!=(const Object &LHS, const Object &RHS) {
  148 inline bool operator!=(const Object &LHS, const Object &RHS) {
  302   Value(json::Object &&Properties) : Type(T_Object) {
  303     create<json::Object>(std::move(Properties));
  306   Value(const std::map<std::string, Elt> &C) : Value(json::Object(C)) {}
  430   const json::Object *getAsObject() const {
  431     return LLVM_LIKELY(Type == T_Object) ? &as<json::Object>() : nullptr;
  433   json::Object *getAsObject() {
  434     return LLVM_LIKELY(Type == T_Object) ? &as<json::Object>() : 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>
  555 inline std::pair<Object::iterator, bool> Object::insert(KV E) {
  674   const Object *O;
lib/Support/JSON.cpp
   60 const json::Object *Object::getObject(StringRef K) const {
   65 json::Object *Object::getObject(StringRef K) {
   80 bool operator==(const Object &LHS, const Object &RHS) {
   80 bool operator==(const Object &LHS, const Object &RHS) {
  118     create<json::Object>(M.as<json::Object>());
  118     create<json::Object>(M.as<json::Object>());
  143     create<json::Object>(std::move(M.as<json::Object>()));
  143     create<json::Object>(std::move(M.as<json::Object>()));
  167     as<json::Object>().~Object();
  306     Object &O = *Out.getAsObject();
  521 static std::vector<const Object::value_type *> sortedElements(const Object &O) {
  521 static std::vector<const Object::value_type *> sortedElements(const Object &O) {
  522   std::vector<const Object::value_type *> Elements;
  622       for (const Object::value_type *E : sortedElements(*V.getAsObject()))
lib/TableGen/JSONBackend.cpp
   76   json::Object obj;
  123   json::Object root;
  144     json::Object obj;
  176   json::Object instanceof;
tools/clang/include/clang/AST/JSONNodeDumper.h
  156   llvm::json::Object createQualType(QualType QT, bool Desugar = true);
  157   llvm::json::Object createBareDeclRef(const Decl *D);
  159   llvm::json::Object createCXXRecordDefinitionData(const CXXRecordDecl *RD);
  160   llvm::json::Object createCXXBaseSpecifier(const CXXBaseSpecifier &BS);
tools/clang/lib/AST/JSONNodeDumper.cpp
  266 llvm::json::Object JSONNodeDumper::createQualType(QualType QT, bool Desugar) {
  268   llvm::json::Object Ret{{"qualType", QualType::getAsString(SQT, PrintPolicy)}};
  292 llvm::json::Object JSONNodeDumper::createBareDeclRef(const Decl *D) {
  293   llvm::json::Object Ret{{"id", createPointerRepresentation(D)}};
  315     llvm::json::Object Val{{"name", RD->getName()}};
  326 static llvm::json::Object
  328   llvm::json::Object Ret;
  341 static llvm::json::Object
  343   llvm::json::Object Ret;
  359 static llvm::json::Object
  361   llvm::json::Object Ret;
  376 static llvm::json::Object
  378   llvm::json::Object Ret;
  391 static llvm::json::Object
  393   llvm::json::Object Ret;
  406 static llvm::json::Object
  408   llvm::json::Object Ret;
  423 llvm::json::Object
  425   llvm::json::Object Ret;
  469 llvm::json::Object
  471   llvm::json::Object Ret;
tools/clang/lib/Driver/DarwinSDKInfo.cpp
   33   if (const auto *Obj = Result->getAsObject()) {
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  109 static json::Object createArtifactLocation(const FileEntry &FE) {
  113 static json::Object createArtifact(const FileEntry &FE) {
  120 static json::Object createArtifactLocation(const FileEntry &FE,
  127     if (const json::Object *Obj = File.getAsObject()) {
  128       if (const json::Object *FileLoc = Obj->getObject("location")) {
  145 static json::Object createTextRegion(SourceRange R, const SourceManager &SM) {
  146   json::Object Region{
  159 static json::Object createPhysicalLocation(SourceRange R, const FileEntry &FE,
  181 static json::Object createThreadFlowLocation(json::Object &&Location,
  181 static json::Object createThreadFlowLocation(json::Object &&Location,
  187 static json::Object createMessage(StringRef Text) {
  191 static json::Object createLocation(json::Object &&PhysicalLocation,
  191 static json::Object createLocation(json::Object &&PhysicalLocation,
  193   json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}};
  216 static json::Object createThreadFlow(const PathPieces &Pieces,
  233 static json::Object createCodeFlow(const PathPieces &Pieces,
  239 static json::Object createResult(const PathDiagnostic &Diag,
  282 static json::Object createRule(const PathDiagnostic &Diag) {
  284   json::Object Ret{
  313 static json::Object createTool(std::vector<const PathDiagnostic *> &Diags,
  323 static json::Object createRun(std::vector<const PathDiagnostic *> &Diags) {
  326   json::Object Tool = createTool(Diags, RuleMapping);
  350   json::Object Sarif{
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  314     llvm::json::Object *TraceArgs;
  318               ClangdLSPServer *Server, llvm::json::Object *TraceArgs)
  540   llvm::json::Object Result{
tools/clang/tools/extra/clangd/JSONTransport.cpp
   17 llvm::json::Object encodeError(llvm::Error E) {
   34 llvm::Error decodeError(const llvm::json::Object &O) {
  134   auto *Object = Message.getAsObject();
  150     if (auto *Err = Object->getObject("error"))
tools/clang/tools/extra/clangd/Protocol.cpp
  272   const llvm::json::Object *O = Params.getAsObject();
  457   llvm::json::Object Diag{
  565   llvm::json::Object Result{{"name", llvm::json::Value(nullptr)},
  604   auto Cmd = llvm::json::Object{{"title", C.title}, {"command", C.command}};
  617   auto CodeAction = llvm::json::Object{{"title", CA.title}};
  634   llvm::json::Object Result{{"name", S.name},
  652   llvm::json::Object FileChanges;
  753   llvm::json::Object Result{{"contents", toJSON(H.contents)}};
  808   llvm::json::Object Result{{"label", CI.label}};
  852   llvm::json::Object Result;
  865   llvm::json::Object Result{
  979   llvm::json::Object Result{{"name", I.name},
tools/clang/tools/extra/clangd/Trace.cpp
   52   Context beginSpan(llvm::StringRef Name, llvm::json::Object *Args) override {
   65   void instant(llvm::StringRef Name, llvm::json::Object &&Args) override {
   73   void jsonEvent(llvm::StringRef Phase, llvm::json::Object &&Contents,
   84     JSONSpan(JSONTracer *Tracer, llvm::StringRef Name, llvm::json::Object *Args)
  143     llvm::json::Object *Args;
  150                 const llvm::json::Object &Event) /*REQUIRES(Mu)*/ {
  212 static Context makeSpanContext(llvm::Twine Name, llvm::json::Object *Args) {
  225     : Args(T ? new llvm::json::Object() : nullptr),
tools/clang/tools/extra/clangd/Trace.h
   40   virtual Context beginSpan(llvm::StringRef Name, llvm::json::Object *Args) = 0;
   49   virtual void instant(llvm::StringRef Name, llvm::json::Object &&Args) = 0;
   89   llvm::json::Object *const Args;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1164     json::Object response{{"uuid", uuid_str},
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  405 static llvm::Expected<json::Object>
  411   json::Object register_object;
  527     json::Object thread_obj;
  530       if (llvm::Expected<json::Object> registers =
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  223   json::Object server{{"port", m_pending_gdb_server.port}};
tools/lldb/source/Utility/StructuredData.cpp
   25 static StructuredData::ObjectSP ParseJSONObject(json::Object *object);
   52   if (json::Object *O = value.getAsObject())
   77 static StructuredData::ObjectSP ParseJSONObject(json::Object *object) {
tools/lldb/tools/lldb-vscode/BreakpointBase.cpp
   14 BreakpointBase::BreakpointBase(const llvm::json::Object &obj)
tools/lldb/tools/lldb-vscode/BreakpointBase.h
   34   BreakpointBase(const llvm::json::Object &obj);
tools/lldb/tools/lldb-vscode/FunctionBreakpoint.cpp
   14 FunctionBreakpoint::FunctionBreakpoint(const llvm::json::Object &obj)
tools/lldb/tools/lldb-vscode/FunctionBreakpoint.h
   20   FunctionBreakpoint(const llvm::json::Object &obj);
tools/lldb/tools/lldb-vscode/JSONUtils.cpp
   25 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key,
   40 llvm::StringRef GetString(const llvm::json::Object &obj, llvm::StringRef key) {
   46 llvm::StringRef GetString(const llvm::json::Object *obj, llvm::StringRef key) {
   54 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
   61 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key,
   68 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key,
   77 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key,
   84 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key,
   91 int64_t GetSigned(const llvm::json::Object *obj, llvm::StringRef key,
   98 bool ObjectContainsKey(const llvm::json::Object &obj, llvm::StringRef key) {
  102 std::vector<std::string> GetStrings(const llvm::json::Object *obj,
  130 void SetValueForKey(lldb::SBValue &v, llvm::json::Object &object,
  155 void FillResponse(const llvm::json::Object &request,
  156                   llvm::json::Object &response) {
  228   llvm::json::Object object;
  287   llvm::json::Object object;
  355 llvm::json::Object CreateEventObject(const llvm::StringRef event_name) {
  356   llvm::json::Object event;
  387   llvm::json::Object object;
  460   llvm::json::Object object;
  481   llvm::json::Object object;
  619   llvm::json::Object object;
  655   llvm::json::Object object;
  730   llvm::json::Object event(CreateEventObject("stopped"));
  731   llvm::json::Object body;
  850   llvm::json::Object object;
tools/lldb/tools/lldb-vscode/JSONUtils.h
   31 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key,
   57 llvm::StringRef GetString(const llvm::json::Object &obj, llvm::StringRef key);
   58 llvm::StringRef GetString(const llvm::json::Object *obj, llvm::StringRef key);
   73 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key,
   75 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key,
   91 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key,
   93 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key,
  109 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key,
  111 int64_t GetSigned(const llvm::json::Object *obj, llvm::StringRef key,
  124 bool ObjectContainsKey(const llvm::json::Object &obj, llvm::StringRef key);
  144 std::vector<std::string> GetStrings(const llvm::json::Object *obj,
  160 void FillResponse(const llvm::json::Object &request,
  161                   llvm::json::Object &response);
  184 void SetValueForKey(lldb::SBValue &v, llvm::json::Object &object,
  218 llvm::json::Object CreateEventObject(const llvm::StringRef event_name);
tools/lldb/tools/lldb-vscode/SourceBreakpoint.cpp
   14 SourceBreakpoint::SourceBreakpoint(const llvm::json::Object &obj)
tools/lldb/tools/lldb-vscode/SourceBreakpoint.h
   23   SourceBreakpoint(const llvm::json::Object &obj);
tools/lldb/tools/lldb-vscode/VSCode.cpp
  196   llvm::json::Object event(CreateEventObject("output"));
  197   llvm::json::Object body;
  257 lldb::SBThread VSCode::GetLLDBThread(const llvm::json::Object &arguments) {
  262 lldb::SBFrame VSCode::GetLLDBFrame(const llvm::json::Object &arguments) {
tools/lldb/tools/lldb-vscode/VSCode.h
  122   lldb::SBThread GetLLDBThread(const llvm::json::Object &arguments);
  124   lldb::SBFrame GetLLDBFrame(const llvm::json::Object &arguments);
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp
   68 typedef void (*RequestCallback)(const llvm::json::Object &command);
  127   llvm::json::Object event(CreateEventObject("exited"));
  128   llvm::json::Object body;
  135   llvm::json::Object event(CreateEventObject("thread"));
  136   llvm::json::Object body;
  149     llvm::json::Object event(CreateEventObject("terminated"));
  286   llvm::json::Object event(CreateEventObject("process"));
  287   llvm::json::Object body;
  393               auto bp_event = CreateEventObject("breakpoint");
  394               llvm::json::Object body;
  416 void SetSourceMapFromArguments(const llvm::json::Object &arguments) {
  485 void request_attach(const llvm::json::Object &request) {
  486   llvm::json::Object response;
  646 void request_continue(const llvm::json::Object &request) {
  647   llvm::json::Object response;
  655   llvm::json::Object body;
  692 void request_configurationDone(const llvm::json::Object &request) {
  693   llvm::json::Object response;
  746 void request_disconnect(const llvm::json::Object &request) {
  747   llvm::json::Object response;
  785 void request_exceptionInfo(const llvm::json::Object &request) {
  786   llvm::json::Object response;
  789   llvm::json::Object body;
  925 void request_evaluate(const llvm::json::Object &request) {
  926   llvm::json::Object response;
  928   llvm::json::Object body;
 1050 void request_initialize(const llvm::json::Object &request) {
 1077   llvm::json::Object response;
 1079   llvm::json::Object body;
 1177 void request_launch(const llvm::json::Object &request) {
 1178   llvm::json::Object response;
 1322 void request_next(const llvm::json::Object &request) {
 1323   llvm::json::Object response;
 1374 void request_pause(const llvm::json::Object &request) {
 1375   llvm::json::Object response;
 1433 void request_scopes(const llvm::json::Object &request) {
 1434   llvm::json::Object response;
 1436   llvm::json::Object body;
 1568 void request_setBreakpoints(const llvm::json::Object &request) {
 1569   llvm::json::Object response;
 1643   llvm::json::Object body;
 1696 void request_setExceptionBreakpoints(const llvm::json::Object &request) {
 1697   llvm::json::Object response;
 1802 void request_setFunctionBreakpoints(const llvm::json::Object &request) {
 1803   llvm::json::Object response;
 1852   llvm::json::Object body;
 1916 void request_source(const llvm::json::Object &request) {
 1917   llvm::json::Object response;
 1919   llvm::json::Object body;
 2004 void request_stackTrace(const llvm::json::Object &request) {
 2005   llvm::json::Object response;
 2011   llvm::json::Object body;
 2074 void request_stepIn(const llvm::json::Object &request) {
 2075   llvm::json::Object response;
 2126 void request_stepOut(const llvm::json::Object &request) {
 2127   llvm::json::Object response;
 2177 void request_threads(const llvm::json::Object &request) {
 2180   llvm::json::Object response;
 2192   llvm::json::Object body;
 2280 void request_setVariable(const llvm::json::Object &request) {
 2281   llvm::json::Object response;
 2284   llvm::json::Object body;
 2462 void request_variables(const llvm::json::Object &request) {
 2463   llvm::json::Object response;
 2529   llvm::json::Object body;
 2539 void request__testGetTargetBreakpoints(const llvm::json::Object &request) {
 2540   llvm::json::Object response;
 2547   llvm::json::Object body;
tools/llvm-cov/CoverageExporterJson.cpp
   83 json::Object renderExpansion(const coverage::ExpansionRecord &Expansion) {
   92 json::Object renderSummary(const FileCoverageSummary &Summary) {
  134 json::Object renderFile(const coverage::CoverageMapping &Coverage,
  138   json::Object File({{"filename", Filename}});
  168       auto File = renderFile(Coverage, SourceFile, FileReport, Options);
  210       const json::Object *ObjA = A.getAsObject();
  211       const json::Object *ObjB = B.getAsObject();
  218   auto Export = json::Object(
tools/llvm-cov/RenderingSupport.h
   43 inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) {
tools/polly/lib/Exchange/JSONExporter.cpp
  106     json::Object Array;
  129   json::Object root;
  150     json::Object statement;
  158       json::Object access;
  209 static bool importContext(Scop &S, const json::Object &JScop) {
  263 static bool importSchedule(Scop &S, const json::Object &JScop,
  346 importAccesses(Scop &S, const json::Object &JScop, const DataLayout &DL,
  365     const json::Object *Statement = statements[StatementIdx].getAsObject();
  388       const json::Object *JsonMemoryAccess =
  546 static bool areArraysEqual(ScopArrayInfo *SAI, const json::Object &Array) {
  630 static bool importArrays(Scop &S, const json::Object &JScop) {
  653     const json::Object &Array = *Arrays[ArrayIdx].getAsObject();
  719   json::Object &jscop = *ParseResult.get().getAsObject();
unittests/Support/JSONTest.cpp
  234   Object *O = Doc->getAsObject();
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/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) 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
  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; };
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 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,