diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-11 00:21:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-10-11 00:21:10 +0000 |
commit | f75dcbef200540dab900e34396a542619d762f0a (patch) | |
tree | 091d34ae15e057b032e671a096a0c074cbdcc5c3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d3126d5fb4f918cc738dac55f71768ad4523957d (diff) | |
download | bcm5719-llvm-f75dcbef200540dab900e34396a542619d762f0a.tar.gz bcm5719-llvm-f75dcbef200540dab900e34396a542619d762f0a.zip |
Aligned allocation versus CUDA: make deallocation function preference order
match other CUDA preference orders, per discussion with jlebar. We now model
this in an attempt to match overload resolution as closely as possible:
- First, we throw out all non-callable (due to CUDA host/device mismatch)
operator delete functions.
- Then we apply sizedness / alignedness preferences based on whether the type
is overaligned and whether the deallocation function is a member.
- Finally, we use the CUDA callability preference as a tiebreaker.
llvm-svn: 283830
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions