Lines Matching full:remarks
1 //===-- llvm/Remarks/RemarkLinker.h -----------------------------*- C++/-*-===//
16 #include "llvm/Remarks/Remark.h"
17 #include "llvm/Remarks/RemarkFormat.h"
18 #include "llvm/Remarks/RemarkStringTable.h"
30 namespace remarks {
43 /// The main string table for the remarks.
44 /// Note: all remarks should use the strings from this string table to avoid
48 /// A set holding unique remarks.
52 std::set<std::unique_ptr<Remark>, RemarkPtrCompare> Remarks; member
57 /// If true, keep all remarks, otherwise only keep remarks with valid debug
77 /// Link the remarks found in \p Buffer.
81 /// metadata. This takes care of uniquing and merging the remarks.
85 /// Link the remarks found in \p Obj by looking for the right section and
90 /// Serialize the linked remarks to the stream \p OS, using the format \p
96 /// Check whether there are any remarks linked.
97 bool empty() const { return Remarks.empty(); } in empty()
99 /// Return a collection of the linked unique remarks to iterate on.
101 /// for (const Remark &R : RL.remarks() { [...] }
102 using iterator = pointee_iterator<decltype(Remarks)::const_iterator>;
104 iterator_range<iterator> remarks() const { in remarks() function
105 return {Remarks.begin(), Remarks.end()}; in remarks()
109 /// Returns a buffer with the contents of the remarks section depending on the
115 } // end namespace remarks