LLVM: llvm::remarks::RemarkLinker Struct Reference (original) (raw)
#include "[llvm/Remarks/RemarkLinker.h](RemarkLinker%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI void | setExternalFilePrependPath (StringRef PrependPath) |
| Set a path to prepend to the external file path. | |
| void | setKeepAllRemarks (bool B) |
| Set KeepAllRemarks to B. | |
| LLVM_ABI Error | link (StringRef Buffer, Format RemarkFormat=Format::Auto) |
| Link the remarks found in Buffer. | |
| LLVM_ABI Error | link (const object::ObjectFile &Obj, Format RemarkFormat=Format::Auto) |
| Link the remarks found in Obj by looking for the right section and calling the method above. | |
| LLVM_ABI Error | serialize (raw_ostream &OS, Format RemarksFormat) const |
| Serialize the linked remarks to the stream OS, using the format RemarkFormat. | |
| bool | empty () const |
| Check whether there are any remarks linked. | |
| iterator_range< iterator > | remarks () const |
Definition at line 33 of file RemarkLinker.h.
◆ iterator
Return a collection of the linked unique remarks to iterate on.
Ex: for (const Remark &R : RL.remarks() { [...] }
Definition at line 102 of file RemarkLinker.h.
◆ empty()
| bool llvm::remarks::RemarkLinker::empty ( ) const | inline |
|---|
◆ link() [1/2]
◆ link() [2/2]
◆ serialize()
◆ setExternalFilePrependPath()
| void RemarkLinker::setExternalFilePrependPath | ( | StringRef | PrependPath | ) |
|---|
Set a path to prepend to the external file path.
Definition at line 65 of file RemarkLinker.cpp.
◆ setKeepAllRemarks()
| void llvm::remarks::RemarkLinker::setKeepAllRemarks ( bool B) | inline |
|---|
The documentation for this struct was generated from the following files:
- include/llvm/Remarks/RemarkLinker.h
- lib/Remarks/RemarkLinker.cpp