[PATCH] D61458: [hip] Relax CUDA call restriction within `decltype` context.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 19:58:01 PDT 2019


hfinkel added a comment.

> Only if they also differ in some other way. C++ does not (generally) have return-type-based overloading. The two functions described would even mangle the same way if CUDA didn't include host/device in the mangling.

Certainly. I didn't mean to imply otherwise.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61458/new/

https://reviews.llvm.org/D61458





More information about the cfe-commits mailing list