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

Method VisitFieldDecl

generator/browserastvisitor.h:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 return true;
140 }
141 bool VisitFieldDecl(clang::FieldDecl *d) {
142 annotator.registerReference(d, d->getLocation(), Annotator::Decl, Annotator::Declaration,
143 annotator.getTypeRef(d->getType()));
144 return true;
145 }
146
147 bool VisitMemberExpr(clang::MemberExpr *e) {
148 auto range = e->getMemberNameInfo().getSourceRange();

Callers

nothing calls this directly

Calls 2

registerReferenceMethod · 0.80
getTypeRefMethod · 0.80

Tested by

no test coverage detected