aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2022-12-19 14:47:35 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2022-12-19 21:01:27 +0000
commitd2e4aaf6ac3bc7c72a81f050512afa17a9ceb54b (patch)
tree6282ef55d9247d3953cca020dcae601b56d79d65 /clang/lib/Frontend/ModuleDependencyCollector.cpp
parentd81df21421b73763d5aa3fe526de3ebc89a074fb (diff)
downloadllvm-d2e4aaf6ac3bc7c72a81f050512afa17a9ceb54b.zip
llvm-d2e4aaf6ac3bc7c72a81f050512afa17a9ceb54b.tar.gz
llvm-d2e4aaf6ac3bc7c72a81f050512afa17a9ceb54b.tar.bz2
[clang][dataflow][NFC] Fix comments related to widening.
The comments describing the API for analysis `widen` and the environment `widen` were overly strict in the preconditions they assumed for the operation. In particular, both assumed that the previous value preceded the current value in the relevant ordering. However, that's not generally how widen operators work and widening itself can violate this property. That is, when the previous value is the result of a widening, it can easily be "greater" than the current value. This patch updates the comments to accurately reflect the expectations. Differential Revision: https://reviews.llvm.org/D140308
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions