reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 4222   if (checkAttrMutualExclusion<CUDADeviceAttr>(S, D, AL) ||
 4223       checkAttrMutualExclusion<CUDAHostAttr>(S, D, AL)) {
 4231     S.Diag(FD->getTypeSpecStartLoc(), diag::err_kern_type_not_void_return)
 4239       S.Diag(Method->getBeginLoc(), diag::err_kern_is_nonstatic_method)
 4243     S.Diag(Method->getBeginLoc(), diag::warn_kern_is_method) << Method;
 4246   if (FD->isInlineSpecified() && !S.getLangOpts().CUDAIsDevice)
 4247     S.Diag(FD->getBeginLoc(), diag::warn_kern_is_inline) << FD;
 4249   D->addAttr(::new (S.Context) CUDAGlobalAttr(S.Context, AL));
 4249   D->addAttr(::new (S.Context) CUDAGlobalAttr(S.Context, AL));