aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFaris Rehman <faris.rehman@arm.com>2021-02-10 09:24:45 +0000
committerFaris Rehman <faris.rehman@arm.com>2021-02-10 09:59:35 +0000
commit6d48a1a53fabae8715091a9aca128cc4a5d9b0a6 (patch)
treecb93fd459fb90eb87cecb63e587a18e0d82702a0 /clang/lib/Frontend/CompilerInvocation.cpp
parenta7d01772ac370bfc5ef1838c8d18b7be070edfbe (diff)
downloadllvm-6d48a1a53fabae8715091a9aca128cc4a5d9b0a6.zip
llvm-6d48a1a53fabae8715091a9aca128cc4a5d9b0a6.tar.gz
llvm-6d48a1a53fabae8715091a9aca128cc4a5d9b0a6.tar.bz2
[flang][driver] Add support for -fopenmp and -fopenacc
Add support for the following options: * -fopenmp * -fopenacc Update OpenMP and OpenACC semantics tests to use the new driver if it is built, otherwise use f18. OpenMP tests that include `use omp_lib` or run `test_symbols.sh` have not been updated as they require options `-intrinsic-module-directory` and `-funparse-with-symbols` which are currently not implemented in the new driver. Similarly OpenACC tests that run `test_symbols.sh` have not been updated. This patch also moves semanticsContext to CompilerInvocation and creates it in CompilerInvocation#setSemanticsOpts so that the semantics context can use Fortran::parser::Options#features. Summary of changes: - Move semanticsContext to CompilerInvocation.h - Update OpenMP and OpenACC semantics tests that do not rely on `-intrinsic-module-directory` and `-funparse-with-symbols` to use %flang Differential Revision: https://reviews.llvm.org/D96032
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions