]> granicus.if.org Git - clang/commit
[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)
commitde1444208cc8ad20b90f1d8dd2394dc2ab64a217
tree80dcb2ca96f0000337315bf0b7dda5d10eaf6818
parent20204588ea38f51a99c62beea362106795dd0e19
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372147 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOpenMP.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/OpenMP/declare_variant_ast_print.c [new file with mode: 0644]
test/OpenMP/declare_variant_ast_print.cpp [new file with mode: 0644]
test/OpenMP/declare_variant_messages.c