[PATCH] D12453: [CUDA] Allow function overloads based on host/device attributes.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 12:46:37 PDT 2015
tra updated this revision to Diff 34059.
tra marked 2 inline comments as done.
tra added a comment.
Added more test cases to cover constructor/destructor/new/delete.
Refactored code to remove unwanted CUDA functions from Lookup match results.
Disabled HD overloading of H or H destructors to guarantee single destructor for codegen. (I'm still investigating whether it makes sense to enforce the same restriction on all functions as pcc@ suggested in design doc).
http://reviews.llvm.org/D12453
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Sema/Sema.h
lib/AST/ItaniumMangle.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaCUDA.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaOverload.cpp
test/CodeGenCUDA/function-overload.cu
test/SemaCUDA/function-overload.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12453.34059.patch
Type: text/x-patch
Size: 33235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150904/440151e4/attachment-0001.bin>
More information about the cfe-commits
mailing list