summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/openmp_wrappers/math.h
diff options
context:
space:
mode:
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-05-13 22:11:44 +0000
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2019-05-13 22:11:44 +0000
commit946957189d6b43a3d2079403633c183224813f95 (patch)
tree812d493681bcc2b878398004167a7dad942f911b /clang/lib/Headers/openmp_wrappers/math.h
parent44a7abe584103da1c261fa706dc08f7f4c0dda52 (diff)
downloadbcm5719-llvm-946957189d6b43a3d2079403633c183224813f95.tar.gz
bcm5719-llvm-946957189d6b43a3d2079403633c183224813f95.zip
[OpenMP][Clang][BugFix] Split declares and math functions inclusion.
Summary: This patches fixes an issue in which the __clang_cuda_cmath.h header is being included even when cmath or math.h headers are not included. Reviewers: jdoerfert, ABataev, hfinkel, caomhin, tra Reviewed By: tra Subscribers: tra, mgorny, guansong, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61765 llvm-svn: 360626
Diffstat (limited to 'clang/lib/Headers/openmp_wrappers/math.h')
-rw-r--r--clang/lib/Headers/openmp_wrappers/math.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Headers/openmp_wrappers/math.h b/clang/lib/Headers/openmp_wrappers/math.h
index d9f798943ca..d2786ecb242 100644
--- a/clang/lib/Headers/openmp_wrappers/math.h
+++ b/clang/lib/Headers/openmp_wrappers/math.h
@@ -7,9 +7,7 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef __cplusplus
#include <__clang_openmp_math.h>
-#endif
#ifndef __CLANG_NO_HOST_MATH__
#include_next <math.h>
OpenPOWER on IntegriCloud