Details
Details
- Reviewers
dblaikie - Commits
- rGb42400ccf3be: [Demangle][Rust] Parse array type
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/Demangle/rust.test | ||
---|---|---|
160–165 | Is it worth having two tests here? The parser seems fairly orthogonally designed and generic args ('p') don't seem more likely to be buggy/weird than any other argument type, such as the u8/0 in the second case? Might be inclined towards only having the second test, unless there's some interesting interaction with the generic args I'm missing. |
llvm/test/Demangle/rust.test | ||
---|---|---|
160–165 | I left only the second test case (I wanted to test that code is parsing a <type> and a <const>, which is unclear with placeholders accepted by both). |
Is it worth having two tests here? The parser seems fairly orthogonally designed and generic args ('p') don't seem more likely to be buggy/weird than any other argument type, such as the u8/0 in the second case? Might be inclined towards only having the second test, unless there's some interesting interaction with the generic args I'm missing.