|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
tools/clang/tools/extra/clang-doc/Representation.h 361 struct BaseRecordInfo : public RecordInfo {
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);
957 void doMapping(IO &io, T &Val, Context &Ctx) {
961 template <typename T> void doMapping(IO &io, T &Val, EmptyContext &Ctx) {
962 MappingTraits<T>::mapping(io, Val);
1078 typename std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type
1079 yamlize(IO &io, T &Val, bool, Context &Ctx) {
1080 if (has_FlowTraits<MappingTraits<T>>::value) {
1791 inline typename std::enable_if<has_MappingTraits<T, EmptyContext>::value,
1793 operator<<(Output &yout, T &map) {
tools/clang/tools/extra/clang-doc/BitcodeReader.cpp 160 RecordInfo *I) {
343 template <> llvm::Expected<CommentInfo *> getCommentInfo(RecordInfo *I) {
369 template <> llvm::Error addTypeInfo(RecordInfo *I, MemberTypeInfo &&T) {
473 template <> llvm::Error addReference(RecordInfo *I, Reference &&R, FieldId F) {
507 template <> void addChild(RecordInfo *I, FunctionInfo &&R) {
511 template <> void addChild(RecordInfo *I, EnumInfo &&R) {
515 template <> void addChild(RecordInfo *I, BaseRecordInfo &&R) {
726 std::unique_ptr<Info> I = std::make_unique<T>();
738 return createInfo<RecordInfo>(ID);
tools/clang/tools/extra/clang-doc/BitcodeWriter.cpp 489 void ClangDocBitcodeWriter::emitBlock(const RecordInfo &I) {
tools/clang/tools/extra/clang-doc/BitcodeWriter.h 153 void emitBlock(const RecordInfo &I);
tools/clang/tools/extra/clang-doc/HTMLGenerator.cpp 761 genHTML(const RecordInfo &I, Index &InfoIndex, const ClangDocContext &CDCtx,
tools/clang/tools/extra/clang-doc/MDGenerator.cpp 193 static void genMarkdown(const RecordInfo &I, llvm::raw_ostream &OS) {
tools/clang/tools/extra/clang-doc/Representation.cpp 39 std::unique_ptr<Info> Merged = std::make_unique<T>(Values[0]->USR);
40 T *Tmp = static_cast<T *>(Merged.get());
106 return reduce<RecordInfo>(Values);
175 void RecordInfo::merge(RecordInfo &&Other) {
tools/clang/tools/extra/clang-doc/Representation.h 335 void merge(RecordInfo &&I);
361 struct BaseRecordInfo : public RecordInfo {
tools/clang/tools/extra/clang-doc/Serialize.cpp 182 template <typename T> static std::string serialize(T &I) {
274 static void parseFields(RecordInfo &I, const RecordDecl *D, bool PublicOnly,
329 static void parseBases(RecordInfo &I, const CXXRecordDecl *D) {
435 parseBases(RecordInfo &I, const CXXRecordDecl *D, bool IsFileInRootDir,
519 auto I = std::make_unique<RecordInfo>();
549 auto ParentI = std::make_unique<RecordInfo>();
610 auto ParentI = std::make_unique<RecordInfo>();
652 auto ParentI = std::make_unique<RecordInfo>();
tools/clang/tools/extra/clang-doc/YAMLGenerator.cpp 128 static void RecordInfoMapping(IO &IO, RecordInfo &I) {
210 static void mapping(IO &IO, RecordInfo &I) { RecordInfoMapping(IO, I); }
tools/clang/tools/extra/unittests/clang-doc/BitcodeTest.cpp 20 template <typename T> static std::string writeInfo(T &I) {
74 RecordInfo I;
tools/clang/tools/extra/unittests/clang-doc/ClangDocTest.cpp 22 RecordInfo *InfoAsRecord(Info *I) {
153 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual) {
153 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual) {
tools/clang/tools/extra/unittests/clang-doc/ClangDocTest.h 27 RecordInfo *InfoAsRecord(Info *I);
45 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual);
45 void CheckRecordInfo(RecordInfo *Expected, RecordInfo *Actual);
tools/clang/tools/extra/unittests/clang-doc/HTMLGeneratorTest.cpp 145 RecordInfo I;
tools/clang/tools/extra/unittests/clang-doc/MDGeneratorTest.cpp 83 RecordInfo I;
tools/clang/tools/extra/unittests/clang-doc/MergeTest.cpp 79 RecordInfo One;
101 RecordInfo Two;
117 Infos.emplace_back(std::make_unique<RecordInfo>(std::move(One)));
118 Infos.emplace_back(std::make_unique<RecordInfo>(std::move(Two)));
120 auto Expected = std::make_unique<RecordInfo>();
tools/clang/tools/extra/unittests/clang-doc/SerializeTest.cpp 139 RecordInfo *E = InfoAsRecord(Infos[0].get());
140 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace");
147 RecordInfo *RecordWithEConstructor = InfoAsRecord(Infos[2].get());
148 RecordInfo ExpectedRecordWithEConstructor(EmptySID);
163 RecordInfo *RecordWithMethod = InfoAsRecord(Infos[3].get());
164 RecordInfo ExpectedRecordWithMethod(EmptySID);
178 RecordInfo *F = InfoAsRecord(Infos[4].get());
179 RecordInfo ExpectedF(EmptySID, /*Name=*/"F", /*Path=*/"GlobalNamespace");
186 RecordInfo *RecordWithTemplateMethod = InfoAsRecord(Infos[6].get());
187 RecordInfo ExpectedRecordWithTemplateMethod(EmptySID);
202 RecordInfo *TemplatedRecord = InfoAsRecord(Infos[7].get());
203 RecordInfo ExpectedTemplatedRecord(EmptySID);
222 RecordInfo *G = InfoAsRecord(Infos[8].get());
223 RecordInfo ExpectedG(EmptySID, /*Name=*/"G", /*Path=*/"GlobalNamespace");
264 RecordInfo *E = InfoAsRecord(Infos[0].get());
265 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace");
277 RecordInfo *E = InfoAsRecord(Infos[0].get());
278 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace");
291 RecordInfo *E = InfoAsRecord(Infos[0].get());
292 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace");
299 RecordInfo *G = InfoAsRecord(Infos[2].get());
302 RecordInfo ExpectedG(EmptySID, /*Name=*/"G", /*Path=*/ExpectedGPath);
359 RecordInfo *F = InfoAsRecord(Infos[0].get());
360 RecordInfo ExpectedF(EmptySID, /*Name=*/"F", /*Path=*/"GlobalNamespace");
367 RecordInfo *G = InfoAsRecord(Infos[3].get());
368 RecordInfo ExpectedG(EmptySID, /*Name=*/"G", /*Path=*/"GlobalNamespace");
376 RecordInfo *E = InfoAsRecord(Infos[6].get());
377 RecordInfo ExpectedE(EmptySID, /*Name=*/"E", /*Path=*/"GlobalNamespace");
417 RecordInfo *H = InfoAsRecord(Infos[8].get());
418 RecordInfo ExpectedH(EmptySID, /*Name=*/"H", /*Path=*/"GlobalNamespace");
461 RecordInfo *I = InfoAsRecord(Infos[10].get());
462 RecordInfo ExpectedI(EmptySID, /*Name=*/"I", /*Path=*/"GlobalNamespace");
469 RecordInfo *J = InfoAsRecord(Infos[12].get());
470 RecordInfo ExpectedJ(EmptySID, /*Name=*/"J", /*Path=*/"GlobalNamespace");
529 RecordInfo *ParentB = InfoAsRecord(Infos[3].get());
530 RecordInfo ExpectedParentB(EmptySID);
tools/clang/tools/extra/unittests/clang-doc/YAMLGeneratorTest.cpp 76 RecordInfo I;
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
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_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
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>