| 300 | return true; |
| 301 | } |
| 302 | bool VisitLabelStmt(clang::LabelStmt *stm) { |
| 303 | if (auto label = stm->getDecl()) { |
| 304 | annotator.registerReference(label, stm->getIdentLoc(), Annotator::Label, Annotator::Declaration, {}, currentContext); |
| 305 | } |
| 306 | return true; |
| 307 | } |
| 308 | |
| 309 | bool TraverseDecl(clang::Decl *d) { |
| 310 | if (!d) return true; |
nothing calls this directly
no test coverage detected