MCPcopy Create free account
hub / github.com/KDAB/codebrowser / registerUse

Method registerUse

generator/annotator.h:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154 std::string typeRef = std::string(),
155 clang::NamedDecl *usedContext = nullptr);
156 void registerUse(clang::NamedDecl* decl, clang::SourceRange range, TokenType tt,
157 clang::NamedDecl* currentContext, DeclType useType = Use) {
158 return registerReference(decl, range, tt, useType, {}, currentContext);
159 }
160 void registerOverride(clang::NamedDecl* decl, clang::NamedDecl* overrided, clang::SourceLocation loc);
161 // same, but for macro
162 void registerMacro(const std::string &ref, clang::SourceLocation refLoc, DeclType declType);

Callers 9

handleSignalOrSlotMethod · 0.80
handleInvokeMethodMethod · 0.80
VisitMemberExprMethod · 0.80
VisitDeclRefExprMethod · 0.80
VisitTagTypeLocMethod · 0.80
VisitCXXConstructExprMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected