|
LLVM 22.0.0git
|
A key-value pair with a debug location that is used to display the remarks at the right place in the source. More...
#include "llvm/Remarks/Remark.h"
Public Member Functions | |
| Argument ()=default | |
| Argument (StringRef Key, StringRef Val) | |
| LLVM_ABI void | print (raw_ostream &OS) const |
| Implement operator<< on Argument. | |
| template<typename T> | |
| std::optional< T > | getValAsInt (unsigned Radix=10) const |
| Return the value of argument as an integer of type T. | |
Public Attributes | |
| StringRef | Key |
| StringRef | Val |
| std::optional< RemarkLocation > | Loc |
A key-value pair with a debug location that is used to display the remarks at the right place in the source.
|
default |
| void Argument::print | ( | raw_ostream & | OS | ) | const |
Implement operator<< on Argument.
Definition at line 43 of file Remark.cpp.
Referenced by llvm::remarks::operator<<().
| StringRef llvm::remarks::Argument::Key |
Definition at line 48 of file Remark.h.
Referenced by Argument(), llvm::remarks::BitstreamRemarkSerializerHelper::emitRemark(), llvm::remarks::StringTable::internalize(), llvm::remarks::YAMLRemarkParser::parseArg(), and print().
| std::optional<RemarkLocation> llvm::remarks::Argument::Loc |
Definition at line 52 of file Remark.h.
Referenced by llvm::remarks::BitstreamRemarkSerializerHelper::emitRemark(), llvm::remarks::StringTable::internalize(), and llvm::remarks::YAMLRemarkParser::parseArg().
| StringRef llvm::remarks::Argument::Val |
Definition at line 50 of file Remark.h.
Referenced by Argument(), llvm::remarks::BitstreamRemarkSerializerHelper::emitRemark(), getValAsInt(), llvm::remarks::StringTable::internalize(), llvm::remarks::YAMLRemarkParser::parseArg(), and print().