19 using namespace clang;
31 NSExceptionII(&C.Idents.get(
"NSException"))
39 NSExceptionInstanceRaiseSelectors[0] =
44 NSExceptionInstanceRaiseSelectors[1] =
59 for (
unsigned i = 0; i < NUM_RAISE_SELECTORS; ++i) {
60 if (S == NSExceptionInstanceRaiseSelectors[i])
Defines the clang::ASTContext interface.
Smart pointer class that efficiently represents Objective-C method names.
Selector getSelector() const
static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II)
ObjCInterfaceDecl * getReceiverInterface() const
Retrieve the Objective-C interface to which this message is being directed, if known.
IdentifierInfo * getIdentifier() const
Get the identifier that names this declaration, if there is one.
One of these records is kept for each identifier that is lexed.
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Selector GetNullarySelector(StringRef name, ASTContext &Ctx)
Utility function for constructing a nullary selector.
Represents an ObjC class declaration.
ObjCInterfaceDecl * getSuperClass() const
An expression that sends a message to the given Objective-C object or class.
SelectorTable & Selectors
IdentifierInfo & get(StringRef Name)
Return the identifier token info for the specified named identifier.
Dataflow Directional Tag Classes.
bool isImplicitNoReturn(const ObjCMessageExpr *ME)
Return true if the given message expression is known to never return.
ObjCNoReturn(ASTContext &C)
Selector getSelector(unsigned NumArgs, IdentifierInfo **IIV)
Can create any sort of selector.
bool isInstanceMessage() const
Determine whether this is an instance message to either a computed object or to super.