<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<font face="Arial" size="2" class="">Hello everyone, </font>
<div class=""><font face="Arial" size="2" class=""><br class="">
</font></div>
<div class=""><font face="Arial" size="2" class="">How would one write a matcher that looks for ParmVarDecls that don't occur in constructor decls?</font></div>
<div class=""><font face="Arial" size="2" class="">I'd figure</font></div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Arial" size="2" class=""> parmVarDecl(unless(hasParent(cxxConstructorDecl()))),</font></span></div>
</div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Arial" size="2" class="">but that doesn't work.</font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Arial" size="2" class="">Replacing hasParent with hasAncestor seems to work, but looks weird considering
 ParmVarDecls look like direct children of FunctionDecls in the AST. Is there something special about ParmVarDecls, also since there is the hasAnyParameter matcher?</font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Arial" size="2" class=""><br class="">
</font></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Arial" size="2" class="">Thanks!</font></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font face="Arial" size="2" class="">Sigi</font></div>
</body>
</html>