]> granicus.if.org Git - clang/commit
[OPENMP] Set '_OPENMP' macro to '201511' value to reflect support for
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 May 2016 04:56:05 +0000 (04:56 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 May 2016 04:56:05 +0000 (04:56 +0000)
commit07baaff938794014fc5c7a3aef1473992bde95c8
treeda4709d3d3b126c3c9e193de7324577fa0e97ecd
parentc642dab5e7f1cb2fe23bb12c8bdab2a5d5b7de5a
[OPENMP] Set '_OPENMP' macro to '201511' value to reflect support for
OpenMP 4.5.

According to OpenMP 4.5 the _OPENMP macro name is defined to have the decimal value yyyymm where yyyy and mm are the year and month designations of the version of the OpenMP API that the implementation supports. Clang supports OpenMP 4.5 so updated value of _OPENMP macro to 201511.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270822 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/InitPreprocessor.cpp
test/OpenMP/predefined_macro.c