]> granicus.if.org Git - clang/commit
[OPENMP] Do not emit messages for templates in declare target
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 21:23:23 +0000 (21:23 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 16 Feb 2018 21:23:23 +0000 (21:23 +0000)
commit16003bcdb4287aab3b87300d9e95f9b49ce52c1c
tree5a6544c13f3affde9c1f4f37fd2c3cd537ef667e
parentcdb8a03f703f775f06f46a23f8e7393d83c6901d
[OPENMP] Do not emit messages for templates in declare target
constructs.

The compiler may emit some extra warnings for functions, that are
implicit specialization of the templates, declared in the target region.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325391 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/declare_target_messages.cpp