| 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; |
nothing calls this directly
no test coverage detected