Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp3770 if (const auto *EA = D->getAttr<ErrorAttr>()) { in mergeErrorAttr()
3786 D->dropAttr<ErrorAttr>(); in mergeErrorAttr()
6248 switch (ErrorAttr->getConvention()) { in checkSwiftAsyncErrorBlock()
6251 uint32_t ParamIdx = ErrorAttr->getHandlerParamIdx(); in checkSwiftAsyncErrorBlock()
6253 S.Diag(ErrorAttr->getLocation(), in checkSwiftAsyncErrorBlock()
6293 S.Diag(ErrorAttr->getLocation(), in checkSwiftAsyncErrorBlock()
6295 << ErrorAttr << isa<ObjCMethodDecl>(D); in checkSwiftAsyncErrorBlock()
6335 auto *ErrorAttr = in handleSwiftAsyncError() local
6337 D->addAttr(ErrorAttr); in handleSwiftAsyncError()
6340 checkSwiftAsyncErrorBlock(S, D, ErrorAttr, AsyncAttr); in handleSwiftAsyncError()
[all …]
H A DSemaDecl.cpp2829 else if (const auto *EA = dyn_cast<ErrorAttr>(Attr)) in mergeDeclAttribute()
3626 if (auto *EA = New->getAttr<ErrorAttr>()) { in MergeFunctionDecl()
3627 if (!Old->hasAttr<ErrorAttr>()) { in MergeFunctionDecl()
3630 New->dropAttr<ErrorAttr>(); in MergeFunctionDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp5400 if (TargetDecl && TargetDecl->hasAttr<ErrorAttr>()) { in EmitCall()
H A DCodeGenModule.cpp2327 if (const auto *EA = FD->getAttr<ErrorAttr>()) { in SetFunctionAttributes()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3553 ErrorAttr *mergeErrorAttr(Decl *D, const AttributeCommonInfo &CI,