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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 3035       S.Diag(Loc, diag::warn_cleanup_ext);
 3039       S.Diag(Loc, diag::err_attribute_cleanup_arg_not_function) << 1
 3045       S.Diag(Loc, diag::warn_cleanup_ext);
 3046     FD = S.ResolveSingleFunctionTemplateSpecialization(ULE, true);
 3049       S.Diag(Loc, diag::err_attribute_cleanup_arg_not_function) << 2
 3051       if (ULE->getType() == S.Context.OverloadTy)
 3052         S.NoteAllOverloadCandidates(ULE);
 3056     S.Diag(Loc, diag::err_attribute_cleanup_arg_not_function) << 0;
 3061     S.Diag(Loc, diag::err_attribute_cleanup_func_must_take_one_arg)
 3068   QualType Ty = S.Context.getPointerType(cast<VarDecl>(D)->getType());
 3070   if (S.CheckAssignmentConstraints(FD->getParamDecl(0)->getLocation(),
 3072     S.Diag(Loc, diag::err_attribute_cleanup_func_arg_incompatible_type)
 3077   D->addAttr(::new (S.Context) CleanupAttr(S.Context, AL, FD));
 3077   D->addAttr(::new (S.Context) CleanupAttr(S.Context, AL, FD));