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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 1073   if (D->hasAttr<PassObjectSizeAttr>()) {
 1074     S.Diag(D->getBeginLoc(), diag::err_attribute_only_once_per_parameter) << AL;
 1096   if (!cast<ParmVarDecl>(D)->getType()->isPointerType()) {
 1097     S.Diag(D->getBeginLoc(), diag::err_attribute_pointers_only) << AL << 1;
 1101   D->addAttr(::new (S.Context) PassObjectSizeAttr(S.Context, AL, (int)Type));