clang 20.0.0git
Public Member Functions | List of all members
clang::ObjCNoReturn Class Reference

#include "clang/Analysis/DomainSpecific/ObjCNoReturn.h"

Public Member Functions

 ObjCNoReturn (ASTContext &C)
 
bool isImplicitNoReturn (const ObjCMessageExpr *ME)
 Return true if the given message expression is known to never return.
 

Detailed Description

Definition at line 24 of file ObjCNoReturn.h.

Constructor & Destructor Documentation

◆ ObjCNoReturn()

ObjCNoReturn::ObjCNoReturn ( ASTContext C)

Definition at line 29 of file ObjCNoReturn.cpp.

References clang::C.

Member Function Documentation

◆ isImplicitNoReturn()

bool ObjCNoReturn::isImplicitNoReturn ( const ObjCMessageExpr ME)

Return true if the given message expression is known to never return.

Definition at line 49 of file ObjCNoReturn.cpp.

References clang::ObjCMessageExpr::getReceiverInterface(), clang::ObjCMessageExpr::getSelector(), clang::ObjCMessageExpr::isInstanceMessage(), and isSubclass().

Referenced by clang::ento::ExprEngine::VisitObjCMessage().


The documentation for this class was generated from the following files: