diff options
author | Justin Lebar <jlebar@google.com> | 2016-10-08 22:16:03 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-10-08 22:16:03 +0000 |
commit | e9eb792a0f899d1bcb03ba46a984a329ae5d461e (patch) | |
tree | fccdbd949b604178068385f2fdceebd8101a51ac /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 67a78a6cc021344d295e4f42603bdef601502e14 (diff) | |
download | bcm5719-llvm-e9eb792a0f899d1bcb03ba46a984a329ae5d461e.tar.gz bcm5719-llvm-e9eb792a0f899d1bcb03ba46a984a329ae5d461e.zip |
[CUDA] Declare our __device__ math functions in the same inline namespace as our standard library.
Summary:
Currently we declare our inline __device__ math functions in namespace
std. But libstdc++ and libc++ declare these functions in an inline
namespace inside namespace std. We need to match this because, in a
later patch, we want to get e.g. <complex> to use our device overloads,
and it only will if those overloads are in the right inline namespace.
Reviewers: tra
Subscribers: cfe-commits, jhen
Differential Revision: https://reviews.llvm.org/D24977
llvm-svn: 283678
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions