Fixes a bug in IntegerLiteralSeparatorFixer::checkSeparator() so that only unformatted integer literals will be formatted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I would need to make checkSeparator() public to add unit tests for it. Even then, the tests would be redundant to the added assertion (assert(Formatted != Text); on line 146), which would have caught the bug.