[OPENMP5.0]Introduce attribute for declare variant directive.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 17 Sep 2019 17:36:49 +0000 (17:36 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 17 Sep 2019 17:36:49 +0000 (17:36 +0000)
commitbf5d4290943b8a4da873987be7b8fd47b8cfdcb9
tree6fa56bd3c57b1693eef1d83e816066506e99bc5d
parentc191c24314cb88597429a9c2047905fe6ee7e1ed
[OPENMP5.0]Introduce attribute for declare variant directive.

Added attribute for declare variant directive. It will allow to handle
declare variant directive at the codegen and will allow to add extra
checks.

llvm-svn: 372147
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/OpenMP/declare_variant_ast_print.c [new file with mode: 0644]
clang/test/OpenMP/declare_variant_ast_print.cpp [new file with mode: 0644]
clang/test/OpenMP/declare_variant_messages.c