From d4dbdf54387cdfc4f4134c98f39479742a246d73 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Thu, 6 Mar 2014 12:27:56 +0000 Subject: [OPENMP] Updated comments and _OPENMP macro value for OpenMP 4.0 (for 'omp simd' support) llvm-svn: 203114 --- clang/lib/Frontend/InitPreprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/Frontend/InitPreprocessor.cpp') 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. -- cgit v1.2.3