aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-04-07 23:55:53 +0000
committerJustin Lebar <jlebar@google.com>2016-04-07 23:55:53 +0000
commit25c36fd61bbbc85632273d91ecb473fd4c472d0f (patch)
tree1a333bd5df0b45a19e68c0dacc7bfee94c886363 /clang/lib/CodeGen/CodeGenModule.cpp
parent6c8b0c1b96759ba4b6f405d72f9529deb98ab819 (diff)
downloadllvm-25c36fd61bbbc85632273d91ecb473fd4c472d0f.zip
llvm-25c36fd61bbbc85632273d91ecb473fd4c472d0f.tar.gz
llvm-25c36fd61bbbc85632273d91ecb473fd4c472d0f.tar.bz2
[CUDA] Tweak math forward declares so we're compatible with libstdc++4.9.
Summary: See comments in patch; we were assuming that some stdlib math functions would be defined in namespace std, when in fact the spec says they should be defined in the global namespace. libstdc++4.9 became more conforming and broke us. This new implementation seems to cover the known knowns. Reviewers: rsmith Subscribers: cfe-commits, tra Differential Revision: http://reviews.llvm.org/D18882 llvm-svn: 265751
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions