[PATCH] D111241: [APInt] Fix isAllOnes and extractBits for zero width values.

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 06:59:51 PDT 2021


joerg added a comment.

Did this get an audit for existing users? It can be argued in both ways. E.g. `"".isdigit()` in Python is False, because there is no digit contained and that's pretty much the same use case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111241/new/

https://reviews.llvm.org/D111241



More information about the llvm-commits mailing list