Home
last modified time | relevance | path

Searched refs:ErrorAttr (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp3927 if (const auto *EA = D->getAttr<ErrorAttr>()) { in mergeErrorAttr()
3945 D->dropAttr<ErrorAttr>(); in mergeErrorAttr()
6581 switch (ErrorAttr->getConvention()) { in checkSwiftAsyncErrorBlock()
6584 uint32_t ParamIdx = ErrorAttr->getHandlerParamIdx(); in checkSwiftAsyncErrorBlock()
6586 S.Diag(ErrorAttr->getLocation(), in checkSwiftAsyncErrorBlock()
6626 S.Diag(ErrorAttr->getLocation(), in checkSwiftAsyncErrorBlock()
6628 << ErrorAttr << isa<ObjCMethodDecl>(D); in checkSwiftAsyncErrorBlock()
6668 auto *ErrorAttr = in handleSwiftAsyncError() local
6670 D->addAttr(ErrorAttr); in handleSwiftAsyncError()
6673 checkSwiftAsyncErrorBlock(S, D, ErrorAttr, AsyncAttr); in handleSwiftAsyncError()
[all …]
H A DSemaDecl.cpp2957 else if (const auto *EA = dyn_cast<ErrorAttr>(Attr)) in mergeDeclAttribute()
3774 if (auto *EA = New->getAttr<ErrorAttr>()) { in MergeFunctionDecl()
3775 if (!Old->hasAttr<ErrorAttr>()) { in MergeFunctionDecl()
3778 New->dropAttr<ErrorAttr>(); in MergeFunctionDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5688 if (TargetDecl && TargetDecl->hasAttr<ErrorAttr>()) { in EmitCall()
H A DCodeGenModule.cpp2842 if (const auto *EA = FD->getAttr<ErrorAttr>()) { in SetFunctionAttributes()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3720 ErrorAttr *mergeErrorAttr(Decl *D, const AttributeCommonInfo &CI,