Add -fopenmp -cc1 option and wire it up to define _OPENMP, from Alexey Bataev!
authorDouglas Gregor <dgregor@apple.com>
Tue, 15 Jan 2013 06:45:29 +0000 (06:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 15 Jan 2013 06:45:29 +0000 (06:45 +0000)
commit1517128912cfe5c9e7635424f683f9a6695fcfe0
tree3333ea2c3bdc3ec3b2b26efd54afcd0cbdd3958b
parentdaa46eb7361fe3d04d377c3713ce7fe68e0f3113
Add -fopenmp -cc1 option and wire it up to define _OPENMP, from Alexey Bataev!

llvm-svn: 172509
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/InitPreprocessor.cpp
clang/test/OpenMP/predefined_macro.c [new file with mode: 0644]