- None: Registration order (by default)
- Numeric: Use StringRef::compare_numeric
- Char: Character order
Details
- Reviewers
- None
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This is an experiment to D145874.
RK::Defs2 holds Defs by registration order including anonymous defs.
I have checked only with check-llvm. Bootstrapping is not tested.
| llvm/utils/TableGen/Attributes.cpp | ||
|---|---|---|
| 68 | Enum should be sorted since it would affect the internal order. | |
| 118 | I guess it should be the same order as Enum. | |
| llvm/utils/TableGen/CodeGenRegisters.cpp | ||
| 1178 | This is the only place that relies on char sort. | |
| llvm/utils/TableGen/GlobalISelEmitter.cpp | ||
| 5555 | Possible bug, capturing address of temporary object. | |
clang-format not found in user’s local PATH; not linting file.