Searched refs:RetNNAttr (Results 1 – 2 of 2) sorted by relevance
3395 ReturnsNonNullAttr *RetNNAttr = nullptr; in EmitReturnValueCheck() local3397 RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>(); in EmitReturnValueCheck()3399 if (!RetNNAttr && !requiresReturnValueNullabilityCheck()) in EmitReturnValueCheck()3406 if (RetNNAttr) { in EmitReturnValueCheck()3409 AttrLoc = RetNNAttr->getLocation(); in EmitReturnValueCheck()
2835 if (auto RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog() local2841 EmitCheckSourceLocation(RetNNAttr->getLocation()), in EmitFunctionEpilog()