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

Method VisitNamespaceDecl

generator/browserastvisitor.h:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 bool VisitNamespaceDecl(clang::NamespaceDecl *d) {
81 annotator.registerReference(d, d->getLocation(), Annotator::Namespace, Annotator::Declaration);
82 return true;
83 }
84 bool VisitNamespaceAliasDecl(clang::NamespaceAliasDecl *d) {
85 annotator.registerReference(d, d->getLocation(), Annotator::Namespace, Annotator::Declaration);
86 annotator.registerReference(d, d->getTargetNameLoc() , Annotator::Namespace);

Callers

nothing calls this directly

Calls 1

registerReferenceMethod · 0.80

Tested by

no test coverage detected