<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<br>I need to make a matcher that finds an initializing operation inside a constructor. In the following code is the underlined expression:<br><br><blockquote>class X {<br>   int a;<br>   X(int b) {<u><b>a=b;</b></u>}<br>};<br><br></blockquote>What I have for now is the following matcher:<br><br><blockquote>DeclarationMatcher CID1_Matcher = constructorDecl(<br>                  isDefinition(),<br>                  forEachConstructorInitializer(<br>                    (isWritten(),<br>                    withInitializer(<br>                      compoundStmt(<br>                         binaryOperator(<br>                            hasOperatorName("=")<br>                         )<br>                      ).bind("CID1")<br>                    ))<br>                  )<br>                );<br></blockquote><br>But it doesn't matches anything. What I'm doing wrong?<br>                                          </div></body>
</html>