Introducing a new error to macro parameters' parsing:
currently, llvm-mc won't complain if a macro have two (or more) named params with the same name.
this behavior is false, as there's no merit in having some params sharing a name.
now, instead of tolerate such a phenomena - emit an appropriate error.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/MC/AsmParser/macro-duplicate-params-names-err.s | ||
---|---|---|
1 | This will fail on bots that don't build x86. Either remove the triple or move the test to an x86-specific test. |
Comment Actions
thanks for the detailed and prompt response
commited version will reflect requested modifications
I think I would prefer multiple rather than at least two.