ΒΆclang::SourceLocation getStandardSelectorLoc(
unsigned int Index,
clang::Selector Sel,
bool WithArgSpace,
ArrayRef<clang::ParmVarDecl*> Args,
clang::SourceLocation EndLoc)
clang::SourceLocation getStandardSelectorLoc(
unsigned int Index,
clang::Selector Sel,
bool WithArgSpace,
ArrayRef<clang::ParmVarDecl*> Args,
clang::SourceLocation EndLoc)
Description
Get the "standard" location of a selector identifier, e.g: For nullary selectors, immediately before ']': "[foo release]"
Declared at: clang/include/clang/AST/SelectorLocationsKind.h:74
Parameters
- unsigned int Index
- clang::Selector Sel
- bool WithArgSpace
- if true the standard location is with a space apart before arguments: "-(id)first: (int)x second: (int)y;" If false: "-(id)first:(int)x second:(int)y;"
- ArrayRef<clang::ParmVarDecl*> Args
- clang::SourceLocation EndLoc