aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
diff options
context:
space:
mode:
authorJeremy Kun <jkun@google.com>2025-08-18 08:47:47 -0700
committerGitHub <noreply@github.com>2025-08-18 08:47:47 -0700
commitc67d27dad02ab7debfff6c7f7fc3ea8abf064b6a (patch)
tree8f56d1ce413dabdd67b8dc44872294377989e324 /clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
parent33761df961627f9d057fa049509fc8ba8baaaf78 (diff)
downloadllvm-c67d27dad02ab7debfff6c7f7fc3ea8abf064b6a.zip
llvm-c67d27dad02ab7debfff6c7f7fc3ea8abf064b6a.tar.gz
llvm-c67d27dad02ab7debfff6c7f7fc3ea8abf064b6a.tar.bz2
[mlir][Presburger] NFC: return var index from IntegerRelation::addLocalFloorDiv (#153463)
addLocalFloorDiv currently returns void and requires the caller to know that the newly added local variable is in a particular index. This commit returns the index of the newly added variable so that callers need not tie themselves to this implementation detail. I found one relevant callsite demonstrating this and updated it. I am using this API out of tree and wanted to make our out-of-tree code a bit more resilient to upstream changes.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp')
0 files changed, 0 insertions, 0 deletions