[PATCH] D12453: [CUDA] Allow function overloads based on host/device attributes.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 8 10:39:03 PDT 2015


tra updated this revision to Diff 34230.
tra marked 2 inline comments as done.
tra added a comment.

Implementes Richard Smiths' suggestions:
Fixed attribute order in name mangling.
Replaced std::function with template argument.


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.34230.patch
Type: text/x-patch
Size: 34095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150908/810d44ca/attachment-0001.bin>


More information about the cfe-commits mailing list