[OPENMP50]Do not emit warning for the function with the currently
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Sep 2019 18:24:35 +0000 (18:24 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Sep 2019 18:24:35 +0000 (18:24 +0000)
commit218bea9703ef36db8782e601e210615dcfddacb4
tree4d923f6024a6d0b851870850e891c6e9f6ea7198
parent2331cd69cd7812d13e68a84dc9e1189cb14cff55
[OPENMP50]Do not emit warning for the function with the currently
defined body.

If the function is currently defined, we should not emit a warning that
it might be emitted already because it was not really emitted.

llvm-svn: 373243
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/declare_variant_messages.c
clang/test/OpenMP/declare_variant_messages.cpp