aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-01-05 09:48:17 +0100
committerNikita Popov <npopov@redhat.com>2022-01-20 09:30:21 +0100
commit0d20407d1ac58a5c97fd354aaef86d5da888d2e1 (patch)
treed464ca9d25726521a571bf3fb7fa6fe5887dd90e /llvm/lib/Support/VirtualFileSystem.cpp
parent655a7024dbbc65ac2e3867094157746905cfd3a3 (diff)
downloadllvm-0d20407d1ac58a5c97fd354aaef86d5da888d2e1.zip
llvm-0d20407d1ac58a5c97fd354aaef86d5da888d2e1.tar.gz
llvm-0d20407d1ac58a5c97fd354aaef86d5da888d2e1.tar.bz2
Reapply [MemCpyOpt] Look through pointer casts when checking capture
This is a recommit of the patch without changes. The reason for the revert has been addressed in D117679. ----- The user scanning loop above looks through pointer casts, so we also need to strip pointer casts in the capture check. Previously the source was incorrectly considered not captured if a bitcast was passed to the call.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions