Home
last modified time | relevance | path

Searched refs:RetNNAttr (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp3395 ReturnsNonNullAttr *RetNNAttr = nullptr; in EmitReturnValueCheck() local
3397 RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>(); in EmitReturnValueCheck()
3399 if (!RetNNAttr && !requiresReturnValueNullabilityCheck()) in EmitReturnValueCheck()
3406 if (RetNNAttr) { in EmitReturnValueCheck()
3409 AttrLoc = RetNNAttr->getLocation(); in EmitReturnValueCheck()
/external/clang/lib/CodeGen/
DCGCall.cpp2835 if (auto RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog() local
2841 EmitCheckSourceLocation(RetNNAttr->getLocation()), in EmitFunctionEpilog()