diff options
author | Benoit Jacob <benoitjacob@google.com> | 2022-12-15 02:00:39 +0000 |
---|---|---|
committer | Benoit Jacob <benoitjacob@google.com> | 2022-12-17 02:24:02 +0000 |
commit | eec575e548d114d96acb673ccb9b8a1ef795465b (patch) | |
tree | 62d9d5af3ed4cb024d5d6f4eeb7408f0e27369f8 /clang/lib/Lex/ModuleMap.cpp | |
parent | 428f36401b1b695fd501ebfdc8773bed8ced8d4e (diff) | |
download | llvm-eec575e548d114d96acb673ccb9b8a1ef795465b.zip llvm-eec575e548d114d96acb673ccb9b8a1ef795465b.tar.gz llvm-eec575e548d114d96acb673ccb9b8a1ef795465b.tar.bz2 |
Allow non-constant divisors in affine mod, floordiv, ceildiv.
The requirement that divisor>0 is not enforced here outside of the
constant case, but how to enforce it? If I understand correctly, it is
UB and while it is nice to be able to deterministically intercept UB,
that isn't always feasible. Hopefully, keeping the existing
enforcement in the constant case is enough.
Differential Revision: https://reviews.llvm.org/D140079
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions