aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com>2023-03-22 10:45:08 +0100
committerMichael Halkenhaeuser <MichaelGerald.Halkenhauser@amd.com>2023-03-29 11:31:17 +0200
commit55916de2d37742fe334c0726ccf9e584bdaed09f (patch)
treeb6626e4aaca6e4ecdaaeeecef8a45f6c7381c5b1 /clang/lib/Frontend/CompilerInvocation.cpp
parentf4b2360cecd4c92e85bccb1443f2ef425fc6a77b (diff)
downloadllvm-55916de2d37742fe334c0726ccf9e584bdaed09f.zip
llvm-55916de2d37742fe334c0726ccf9e584bdaed09f.tar.gz
llvm-55916de2d37742fe334c0726ccf9e584bdaed09f.tar.bz2
[clang][HIP][OpenMP] Add warning if mixed HIP / OpenMP offloading
Adds a warning, issued by the clang semantic analysis, if HIP and OpenMP target offloading is requested concurrently. That is, if HIP language mode is active but OpenMP target directives are encountered. Previously, a user might not have been aware that target directives are ignored in such a case. Generation of this warning is (lit-)tested via "make check-clang-semaopenmp". The warning can be ignored via "-Wno-hip-omp-target-directives". Differential Revision: https://reviews.llvm.org/D145591
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions