[OPENMP] Do not emit warning for implicitly declared target functions.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 17:39:00 +0000 (17:39 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 17:39:00 +0000 (17:39 +0000)
commitdcc815d015bc23a4badd40f591a2937252a32cd8
treef3e2c7e8ed4adc61da0e68c402eaca41af76149c
parent5e3aba8251e92a66646a9b64311cac8f4168c1ea
[OPENMP] Do not emit warning for implicitly declared target functions.

Since upcoming OpenMP 5.0 functions can be mapped implicitly as declare
target and we should not emit warnings for such functions.

llvm-svn: 331377
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/declare_target_messages.cpp