]> granicus.if.org Git - clang/commit
[OPENMP] Delay emission of the asm target-specific error messages.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 20 Feb 2019 17:42:57 +0000 (17:42 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 20 Feb 2019 17:42:57 +0000 (17:42 +0000)
commit771c454fcb9a98b83da46bd29eb4cd090092b5da
treec237d20a552ecb2091a6c62bae077fd5e6846872
parent4e71da0eeb9797498123c28b3a0f4024195e9184
[OPENMP] Delay emission of the asm target-specific error messages.

Summary:
Added the ability to emit target-specific builtin assembler error
messages only in case if the function is really is going to be emitted
for the device.

Reviewers: rjmccall

Subscribers: guansong, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58243

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354486 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/Sema.cpp
lib/Sema/SemaStmtAsm.cpp
test/OpenMP/nvptx_asm_delayed_diags.c [new file with mode: 0644]