diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-06 12:27:56 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-03-06 12:27:56 +0000 |
commit | d4dbdf54387cdfc4f4134c98f39479742a246d73 (patch) | |
tree | 0504e0379565066f41d5e6d550d36a1a7563a31a /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 4a7e96e6421863f4ac09cbfe0dba046c09ea21ff (diff) | |
download | bcm5719-llvm-d4dbdf54387cdfc4f4134c98f39479742a246d73.tar.gz bcm5719-llvm-d4dbdf54387cdfc4f4134c98f39479742a246d73.zip |
[OPENMP] Updated comments and _OPENMP macro value for OpenMP 4.0 (for 'omp simd' support)
llvm-svn: 203114
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
-rw-r--r-- | clang/lib/Frontend/InitPreprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp index 1112b55d86b..ca51297bb28 100644 --- a/clang/lib/Frontend/InitPreprocessor.cpp +++ b/clang/lib/Frontend/InitPreprocessor.cpp @@ -720,12 +720,12 @@ static void InitializePredefinedMacros(const TargetInfo &TI, // OpenMP definition if (LangOpts.OpenMP) { - // OpenMP 2.2: + // OpenMP 2.2: // In implementations that support a preprocessor, the _OPENMP // macro name is defined to have the decimal value yyyymm where // yyyy and mm are the year and the month designations of the // version of the OpenMP API that the implementation support. - Builder.defineMacro("_OPENMP", "201107"); + Builder.defineMacro("_OPENMP", "201307"); } // Get other target #defines. |