[PATCH] D23241: Add the notion of deferred diagnostics.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 6 12:38:03 PDT 2016
jlebar created this revision.
jlebar added a reviewer: rnk.
jlebar added subscribers: tra, cfe-commits.
This patch lets you create diagnostics that are emitted if and only if a
particular FunctionDecl is codegen'ed.
This is necessary for CUDA, where some constructs -- e.g. calls from
host+device functions to host functions when compiling for device -- are
allowed to appear in semantically-correct programs, but only if they're
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4705 bytes
Desc: not available
More information about the cfe-commits