<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
are you sure that you have OMPThreadPrivateDecl nodes at all?
Check that the code is compiled with -Xclang -fopenmp=libiomp5
option.<br>
<pre class="moz-signature" cols="72">Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team
Intel Corp. </pre>
25.02.2015 5:00, Deepak Rajendrakumaran пишет:<br>
</div>
<blockquote
cite="mid:%3CCALLs9tusbExQJ-sr3e9H0AWfpupbTVMmq+tBoF3wzBbMFQaWDA@mail.gmail.com%3E"
type="cite">
<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>
</blockquote>
<br>
</body>
</html>