class ObjCProtocolLoc
Declaration
class ObjCProtocolLoc { /* full declaration omitted */ };
Declared at: clang/include/clang/AST/TypeLoc.h:2635
Member Variables
- private clang::ObjCProtocolDecl* Protocol = nullptr
- private clang::SourceLocation Loc = clang::SourceLocation()
Method Overview
- public ObjCProtocolLoc(clang::ObjCProtocolDecl * protocol, clang::SourceLocation loc)
- public clang::SourceLocation getLocation() const
- public clang::ObjCProtocolDecl * getProtocol() const
- public clang::SourceRange getSourceRange() const
Methods
¶ObjCProtocolLoc(clang::ObjCProtocolDecl* protocol,
clang::SourceLocation loc)
ObjCProtocolLoc(clang::ObjCProtocolDecl* protocol,
clang::SourceLocation loc)
Declared at: clang/include/clang/AST/TypeLoc.h:2640
Parameters
- clang::ObjCProtocolDecl* protocol
- clang::SourceLocation loc
¶clang::SourceLocation getLocation() const
clang::SourceLocation getLocation() const
Declared at: clang/include/clang/AST/TypeLoc.h:2643
¶clang::ObjCProtocolDecl* getProtocol() const
clang::ObjCProtocolDecl* getProtocol() const
Declared at: clang/include/clang/AST/TypeLoc.h:2642
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Description
The source range is just the protocol name.
Declared at: clang/include/clang/AST/TypeLoc.h:2646