.Imm can get lexed as a real, but a real doesn't equal to .Imm, e.g.,
2.5 or .123e+8. We should report error for it rather than silently ignore.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't think it's necessary to check each negative inputs, especially we don't have actual problem with this. This was just found by static analyze tool.
We even don't have a test when the functionality was introduced rG5dcb4664f276