24 if (
Class->getIdentifier() == II)
31 NSExceptionII(&
C.Idents.get(
"NSException"))
37 II.push_back(&
C.Idents.get(
"raise"));
38 II.push_back(&
C.Idents.get(
"format"));
39 NSExceptionInstanceRaiseSelectors[0] =
40 C.Selectors.getSelector(II.size(), &II[0]);
43 II.push_back(&
C.Idents.get(
"arguments"));
44 NSExceptionInstanceRaiseSelectors[1] =
45 C.Selectors.getSelector(II.size(), &II[0]);
59 llvm::is_contained(NSExceptionInstanceRaiseSelectors, S))
Defines the clang::ASTContext interface.
static bool isSubclass(const ObjCInterfaceDecl *Class, const IdentifierInfo *II)
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
One of these records is kept for each identifier that is lexed.
Represents an ObjC class declaration.
An expression that sends a message to the given Objective-C object or class.
Selector getSelector() const
bool isInstanceMessage() const
Determine whether this is an instance message to either a computed object or to super.
ObjCInterfaceDecl * getReceiverInterface() const
Retrieve the Objective-C interface to which this message is being directed, if known.
bool isImplicitNoReturn(const ObjCMessageExpr *ME)
Return true if the given message expression is known to never return.
ObjCNoReturn(ASTContext &C)
Smart pointer class that efficiently represents Objective-C method names.
The JSON file list parser is used to communicate input to InstallAPI.
Selector GetNullarySelector(StringRef name, ASTContext &Ctx)
Utility function for constructing a nullary selector.
@ Class
The "class" keyword introduces the elaborated-type-specifier.