]> granicus.if.org Git - clang/commit
[OPENMP50]Add parsing/sema analysis for declare variant score.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 Oct 2019 18:19:02 +0000 (18:19 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 Oct 2019 18:19:02 +0000 (18:19 +0000)
commit583cd05ce39d3342e4da7887fd5fbd828507c043
tree2525d77c1bc69daceaad3f1476c7bfedaf025611
parentaef104aca0c640a9645dcc94ce0fb8ca54ff4d2d
[OPENMP50]Add parsing/sema analysis for declare variant score.

Context selectors may include optional score clause in format
`score(<expr>):`, where `<expr>` must be a constant integer expression.
Added parsing/sema analysis only.

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