//= ObjCNoReturn.cpp - Handling of Cocoa APIs known not to return --*- C++ -*--- // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements special handling of recognizing ObjC API hooks that // do not return but aren't marked as such in API headers. // //===----------------------------------------------------------------------===// #include "clang/AST/ASTContext.h" #include "clang/AST/ExprObjC.h" #include "clang/Analysis/DomainSpecific/ObjCNoReturn.h" usingnamespaceclang; static bool isSubclass(const ObjCInterfaceDecl *Class, const IdentifierInfo *II) { … } ObjCNoReturn::ObjCNoReturn(ASTContext &C) : … { … } bool ObjCNoReturn::isImplicitNoReturn(const ObjCMessageExpr *ME) { … }