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

Method VisitTypedefNameDecl

generator/browserastvisitor.h:54–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 BrowserASTVisitor(Annotator &R) : annotator(R) {}
53
54 bool VisitTypedefNameDecl(clang::TypedefNameDecl *d) {
55 annotator.registerReference(d, d->getLocation(), Annotator::Typedef, Annotator::Declaration,
56 annotator.getTypeRef(d->getUnderlyingType()));
57 return true;
58 }
59
60 bool VisitTagDecl(clang::TagDecl *d) {
61 if(!shouldProcess(d)) return false;

Callers

nothing calls this directly

Calls 2

registerReferenceMethod · 0.80
getTypeRefMethod · 0.80

Tested by

no test coverage detected