]> granicus.if.org Git - clang/commit
[OPENMP50]Emit warnings if the functions was defined/used before marked
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Sep 2019 20:04:15 +0000 (20:04 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 26 Sep 2019 20:04:15 +0000 (20:04 +0000)
commit61dcf5fc3bef286fed83d3d699d979abe1cb4fc4
tree03e6825b75f784b99b40d5bbf2f36879f427b887
parent28ef9cda783f9c9e669a60567c24b6738fd0e026
[OPENMP50]Emit warnings if the functions was defined/used before marked
declare variant.

We can use the original function if it was used/emitted already. So,
just use warnings for these cases, not errors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373010 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOpenMP.cpp
test/OpenMP/declare_variant_ast_print.cpp
test/OpenMP/declare_variant_messages.c
test/OpenMP/declare_variant_messages.cpp