| 132 | return true; |
| 133 | } |
| 134 | bool VisitVarDecl(clang::VarDecl *d) { |
| 135 | if(!shouldProcess(d)) return false; |
| 136 | annotator.registerReference(d, d->getLocation(), Annotator::Decl, |
| 137 | d->isThisDeclarationADefinition() ? Annotator::Definition : Annotator::Declaration, |
| 138 | annotator.getTypeRef(d->getType())); |
| 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())); |
nothing calls this directly
no test coverage detected