]> granicus.if.org Git - clang/commit
[CUDA]Delayed diagnostics for the asm instructions.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Feb 2019 14:42:48 +0000 (14:42 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Feb 2019 14:42:48 +0000 (14:42 +0000)
commita0e40f466c0a256f2f9b479075cf62c5926748a0
tree2b3a16c7a434efc7ea95181431553d70acdeae06
parent0ce92a14539bfa8c041c1cb16beba24e2e72a077
[CUDA]Delayed diagnostics for the asm instructions.

Adapted targetDiag for the CUDA and used for the delayed diagnostics in
asm constructs. Works for both host and device compilation sides.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354671 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/Sema.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/SemaStmtAsm.cpp
test/SemaCUDA/asm_delayed_diags.cu [new file with mode: 0644]