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

Method VisitLabelStmt

generator/browserastvisitor.h:302–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

registerReferenceMethod · 0.80

Tested by

no test coverage detected