This addresses https://bugs.llvm.org/show_bug.cgi?id=39403 by making
-radix en enumeration option with 8, 10, and 16 as the only accepted
values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Code change is fine, but please add a test to show that an unknown value is rejected with a useful error message.
Comment Actions
LGTM with the suggested changes in the CHECK command names.
test/tools/llvm-size/unknown-radix.test | ||
---|---|---|
2 ↗ | (On Diff #171510) | Don't use a CHECK prefix with "NOT" in it, to avoid confusion with the "CHECK-NOT:" FileCheck directive. You don't even need "CHECK" in fact, so you could just label them "NON-NUMERIC" and "NUMERIC" or similar. |