summaryrefslogtreecommitdiff
path: root/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-03-06 12:27:56 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-03-06 12:27:56 +0000
commitf343a494807eaba4cdc0470ad40719699dc752f3 (patch)
treeb0cf80d4df3c7601b1d0913fbb45cbecdfc48f83 /lib/Frontend/InitPreprocessor.cpp
parent316202f49ae868466ba214b770349dc211d07262 (diff)
downloadclang-f343a494807eaba4cdc0470ad40719699dc752f3.tar.gz
clang-f343a494807eaba4cdc0470ad40719699dc752f3.tar.bz2
clang-f343a494807eaba4cdc0470ad40719699dc752f3.tar.xz
[OPENMP] Updated comments and _OPENMP macro value for OpenMP 4.0 (for 'omp simd' support)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitPreprocessor.cpp')
-rw-r--r--lib/Frontend/InitPreprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp
index 1112b55d86..ca51297bb2 100644
--- a/lib/Frontend/InitPreprocessor.cpp
+++ b/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.