This patch adds documentation for the RegState enumeration.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/include/llvm/CodeGen/MachineInstrBuilder.h | ||
|---|---|---|
| 45 | This is personal preference, but IMO, once comments span more than one line the enum {
/// Register definition.
Define = 0x2,
///Not emitted register (e.g. carry, or
///temporary)
Implicit = 0x4,format is less confusing to read. | |
| llvm/include/llvm/CodeGen/MachineInstrBuilder.h | ||
|---|---|---|
| 45 | It makes sense :) Thanks! | |
This is personal preference, but IMO, once comments span more than one line the
enum { /// Register definition. Define = 0x2, ///Not emitted register (e.g. carry, or ///temporary) Implicit = 0x4,format is less confusing to read.