<div dir="ltr">This might sound silly. But I have been trying to match OMPThreadPrivateDecl' nodes using ASTMatcher. But I have been running into deadends.<div><br></div><div>What I am doing now is using ASTMatcher to match 'Decl' nodes and check if its a 'OMPThreadPrivateDecl'  by using a dyn_cast. But this does not work.</div><div><br></div><div>Alternatively I tried with <span style="color:rgb(0,0,0);white-space:pre-wrap">isa<OMPThreadPrivateDecl>(*D) (which kind of does the same thing)</span></div><div><br></div><div> Can anyone point out how I can access the 'OMPThreadPrivateDecl nodes using ASTMAtcher or what I am doing wrong?</div><div><br></div><div>-Deepak</div></div>