summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-01-13 17:23:24 +0000
committerHans Wennborg <hans@hanshq.net>2014-01-13 17:23:24 +0000
commit110038065b525ebadb0b1c7a757baf74cb7d0b84 (patch)
tree034517f2cde46e143a68c8caf1981b2aa41d6306 /lib/CodeGen/CGExprAgg.cpp
parentad005369790fd8f53ff01c53625c3d4f5f2631ed (diff)
downloadclang-110038065b525ebadb0b1c7a757baf74cb7d0b84.tar.gz
clang-110038065b525ebadb0b1c7a757baf74cb7d0b84.tar.bz2
clang-110038065b525ebadb0b1c7a757baf74cb7d0b84.tar.xz
[ms-cxxabi] Elide dtor access checks for pass-by-val objects in callees
The ABI requires the destructor to be invoked in the callee, but the standard does not require access checks here so we avoid doing direct access checks on the destructor. If we end up needing to define an implicit destructor, we don't skip access checks for the base class, etc. Those checks are effectively part of generating the destructor definition, and aren't affected by which TU the check is performed in. Differential Revision: http://llvm-reviews.chandlerc.com/D2409 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions