<div dir="ltr"><div><div><div>Hi there:<br><br></div>i try to match an openmp directive using AST Matcher, but i can not make it.<br></div>for example:<br><br>{<br></div>#pragma omp parallel<br>{<br>.....<br>}<br><div><div>}<br></div><div>how to match this node?<br><br></div><div>this node should be a STMT in AST, i can see  this in RecursiveASTVisitor.h :<br>DEF_TRAVERSE_STMT(OMPParallelDirective,<br>                  { TRY_TO(TraverseOMPExecutableDirective(S)); })<br><br></div><div>so how to narrow down the stmt() matcher to get this node?<br><br></div><div>Best<br></div><div>hui<br></div></div></div>