summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-03-29 16:24:23 +0000
committerJustin Lebar <jlebar@google.com>2016-03-29 16:24:23 +0000
commit50e5f184d8bed8a13f082506286b0b1eb2402748 (patch)
treefed9c47e7ba072fb0bae8e2c860bb9fe54348fee /clang/lib
parent3918647a1187724e828865db915b091d608728f9 (diff)
downloadbcm5719-llvm-50e5f184d8bed8a13f082506286b0b1eb2402748.tar.gz
bcm5719-llvm-50e5f184d8bed8a13f082506286b0b1eb2402748.zip
[CUDA] Add missing #undef __DEVICE__ to CUDA shim header.
llvm-svn: 264742
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Headers/__clang_cuda_cmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Headers/__clang_cuda_cmath.h b/clang/lib/Headers/__clang_cuda_cmath.h
index 0d865d20749..9fe3f712c7e 100644
--- a/clang/lib/Headers/__clang_cuda_cmath.h
+++ b/clang/lib/Headers/__clang_cuda_cmath.h
@@ -194,4 +194,6 @@ using ::trunc;
} // namespace std
+#undef __DEVICE__
+
#endif
OpenPOWER on IntegriCloud