]> granicus.if.org Git - clang/commit
[OPENMP] Add option '-fopenmp-version=[31|40|45]' allowing choosing
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 May 2016 11:10:11 +0000 (11:10 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 May 2016 11:10:11 +0000 (11:10 +0000)
commit6a63ab29f88301f83226eeb1f9355d700837f814
treea5ead4e54d3732224adf217937218b47bbf10947
parent4f06dcbbb29a5b166fca80df08880b1372d6ddac
[OPENMP] Add option '-fopenmp-version=[31|40|45]' allowing choosing
OpenMP version.

If '-fopenmp' option is provided '-fopenmp-version=' allows to control,
which version of OpenMP must be supported. Currently it affects only the
value of _OPENMP define.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270838 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Frontend/InitPreprocessor.cpp
test/OpenMP/driver.c
test/OpenMP/predefined_macro.c