Lines Matching refs:SemaRef
79 if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, Str)) in handleAttrAttr()
89 if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, BT)) in handleBridge()
180 if (!hasErrorParameter(SemaRef, D, AL)) in handleError()
185 if (!hasErrorParameter(SemaRef, D, AL) || !hasPointerResult(SemaRef, D, AL)) in handleError()
191 if (!hasErrorParameter(SemaRef, D, AL) || !hasIntegerResult(SemaRef, D, AL)) in handleError()
296 if (!AL.checkExactlyNumArgs(SemaRef, 2)) in handleAsyncError()
300 if (!SemaRef.checkUInt32Argument(AL, IdxExpr, ParamIdx)) in handleAsyncError()
306 if (!AL.checkExactlyNumArgs(SemaRef, 1)) in handleAsyncError()
317 checkSwiftAsyncErrorBlock(SemaRef, D, ErrorAttr, AsyncAttr); in handleAsyncError()
545 if (!validateSwiftFunctionName(SemaRef, AL, Loc, Name, SwiftParamCount, in DiagnoseName()
607 if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, Name, &Loc)) in handleName()
619 if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, Name, &Loc)) in handleAsyncName()
631 if (!AL.checkExactlyNumArgs(SemaRef, 1)) in handleNewType()
674 if (!AL.checkExactlyNumArgs(SemaRef, 1)) in handleAsyncAttr()
678 if (!AL.checkExactlyNumArgs(SemaRef, 2)) in handleAsyncAttr()
682 if (!SemaRef.checkFunctionOrMethodParameterIndex(D, AL, 2, HandlerIdx, Idx)) in handleAsyncAttr()
707 checkSwiftAsyncErrorBlock(SemaRef, D, ErrorAttr, AsyncAttr); in handleAsyncAttr()