[PATCH] D51808: [CUDA] Ignore uncallable functions when we check for usual deallocators.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 7 11:46:19 PDT 2018
tra created this revision.
tra added a reviewer: rsmith.
Herald added subscribers: bixia, jlebar, sanjoy.
Previously clang considered function variants from both sides of
compilation and that sometimes resulted in picking up wrong deallocation function.
https://reviews.llvm.org/D51808
Files:
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang/include/clang/AST/DeclCXX.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/DeclCXX.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/test/CodeGenCUDA/usual-deallocators.cu
clang/test/SemaCUDA/call-host-fn-from-device.cu
clang/test/SemaCUDA/usual-deallocators.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51808.164480.patch
Type: text/x-patch
Size: 15418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180907/0fed7570/attachment.bin>
More information about the cfe-commits
mailing list