[clang] 410cfc4 - [OpenMP][FIX] Add second include after header was split in d1705c1196

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 22:31:27 PDT 2020


Author: Johannes Doerfert
Date: 2020-04-02T00:20:23-05:00
New Revision: 410cfc478f3540d3f07bba920fa3bf99409f6bda

URL: https://github.com/llvm/llvm-project/commit/410cfc478f3540d3f07bba920fa3bf99409f6bda
DIFF: https://github.com/llvm/llvm-project/commit/410cfc478f3540d3f07bba920fa3bf99409f6bda.diff

LOG: [OpenMP][FIX] Add second include after header was split in d1705c1196

The math wrapper handling is going to be replaced shortly and
d1705c1196fedfe927716923ac121f1134924a36 was actually a precursor for
that.

Added: 
    

Modified: 
    clang/lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h b/clang/lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h
index a422c98bf97d..dd97faca6932 100644
--- a/clang/lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h
+++ b/clang/lib/Headers/openmp_wrappers/__clang_openmp_math_declares.h
@@ -26,6 +26,7 @@
 #include <__clang_cuda_libdevice_declares.h>
 /// Provide definitions for these functions.
 #include <__clang_cuda_device_functions.h>
+#include <__clang_cuda_math.h>
 
 #undef __CUDA__
 


        


More information about the cfe-commits mailing list