aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2022-12-15 02:00:39 +0000
committerBenoit Jacob <benoitjacob@google.com>2022-12-17 02:24:02 +0000
commiteec575e548d114d96acb673ccb9b8a1ef795465b (patch)
tree62d9d5af3ed4cb024d5d6f4eeb7408f0e27369f8 /clang/lib/Lex/ModuleMap.cpp
parent428f36401b1b695fd501ebfdc8773bed8ced8d4e (diff)
downloadllvm-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