aboutsummaryrefslogtreecommitdiff
path: root/clang/lib
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-01-30 16:18:47 +0100
committerNikita Popov <npopov@redhat.com>2025-01-30 16:28:19 +0100
commita3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d (patch)
tree5b4373588da97f111811052c2515874c9794509a /clang/lib
parent9acaaebcdd39f7584a20388f1bad8a9f721bf9d0 (diff)
downloadllvm-a3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d.zip
llvm-a3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d.tar.gz
llvm-a3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d.tar.bz2
[FunctionAttrs] Remove dead code code in nocaptures inference (NFCI)
An argument graph node without uses forms a trivial SCC, which will already be handled by the preceding branch. If a node in the SCC points to a node with empty uses, then it will be part of a different SCC, and as such assumed to be capturing if it does not have an attribute. There is no need to handle them separately.
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions