33 Selector getReturnValueSel, setReturnValueSel;
34 Selector getArgumentSel, setArgumentSel;
45 selIds[0] = &ids.
get(
"getArgument");
46 selIds[1] = &ids.
get(
"atIndex");
48 selIds[0] = &ids.
get(
"setArgument");
61 selName =
"getReturnValue";
63 selName =
"setReturnValue";
65 selName =
"getArgument";
67 selName =
"setArgument";
78 diag::err_arcmt_nsinvocation_ownership,
90 diag::err_unavailable_message,
95 diag::err_unavailable_message,
Defines the clang::ASTContext interface.
TranslationUnitDecl * getTranslationUnitDecl() const
SelectorTable & Selectors
This represents one expression.
Expr * IgnoreParenCasts() LLVM_READONLY
Skip past any parentheses and casts which might surround this expression until reaching a fixed point...
One of these records is kept for each identifier that is lexed.
Implements an efficient mapping from strings to IdentifierInfo nodes.
IdentifierInfo & get(StringRef Name)
Return the identifier token info for the specified named identifier.
StringRef getName() const
Get the name of identifier for this declaration as a StringRef.
An expression that sends a message to the given Objective-C object or class.
Expr * getArg(unsigned Arg)
getArg - Return the specified argument.
Expr * getInstanceReceiver()
Returns the object expression (receiver) for an instance message, or null for a message that is not a...
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.
SourceLocation getSelectorLoc(unsigned Index) const
A (possibly-)qualified type.
bool isNull() const
Return true if this QualType doesn't point to a type yet.
Qualifiers::ObjCLifetime getObjCLifetime() const
Returns lifetime attribute of this type.
@ OCL_ExplicitNone
This object can be modified without requiring retains or releases.
A class that does preorder or postorder depth-first traversal on the entire Clang AST and visits each...
This table allows us to fully hide how we implement multi-keyword caching.
Selector getSelector(unsigned NumArgs, IdentifierInfo **IIV)
Can create any sort of selector.
Selector getNullarySelector(IdentifierInfo *ID)
Selector getUnarySelector(IdentifierInfo *ID)
Smart pointer class that efficiently represents Objective-C method names.
SourceRange getSourceRange() const LLVM_READONLY
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpre...
SourceLocation getBeginLoc() const LLVM_READONLY
QualType getPointeeType() const
If this is a pointer, ObjC object pointer, or block pointer, this returns the respective pointee.
StringRef getNilString(MigrationPass &Pass)
Returns "nil" or "0" if 'nil' macro is not actually defined.
void checkAPIUses(MigrationPass &pass)