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

References

tools/clang/lib/Sema/SemaType.cpp
 6847   FunctionTypeUnwrapper unwrapped(S, type);
 6850     if (S.CheckAttrNoArgs(attr))
 6859     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6859     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6873     if (S.checkNSReturnsRetainedReturnType(attr.getLoc(),
 6882       type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6882       type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6885         createSimpleAttr<NSReturnsRetainedAttr>(S.Context, attr),
 6891     if (S.CheckAttrTarget(attr) || S.CheckAttrNoArgs(attr))
 6891     if (S.CheckAttrTarget(attr) || S.CheckAttrNoArgs(attr))
 6900     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6900     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6905     if (!S.getLangOpts().CFProtectionBranch) {
 6906       S.Diag(attr.getLoc(), diag::warn_nocf_check_attribute_ignored);
 6911     if (S.CheckAttrTarget(attr) || S.CheckAttrNoArgs(attr))
 6911     if (S.CheckAttrTarget(attr) || S.CheckAttrNoArgs(attr))
 6921     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6921     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6927     if (S.CheckRegparmAttr(attr, value))
 6938       S.Diag(attr.getLoc(), diag::err_attributes_are_not_compatible)
 6947     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6947     type = unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 6956     if (S.CheckAttrNoArgs(attr)) {
 6987         S.Diag(attr.getLoc(), diag::warn_nothrow_attribute_ignored);
 6994         S, S.Context
 6994         S, S.Context
 7007   if (S.CheckCallingConvAttr(attr, CC))
 7012   Attr *CCAttr = getCCTypeAttr(S.Context, attr);
 7017     if (S.getCallingConvAttributedType(type)) {
 7018       S.Diag(attr.getLoc(), diag::err_attributes_are_not_compatible)
 7039         return S.Diag(attr.getLoc(), diag::warn_cconv_unsupported)
 7044       return S.Diag(attr.getLoc(), diag::err_cconv_varargs)
 7051     S.Diag(attr.getLoc(), diag::err_attributes_are_not_compatible)
 7066       unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));
 7066       unwrapped.wrap(S, S.Context.adjustFunctionType(unwrapped.get(), EI));