<p></p>
<p dir="auto">It was <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kugel-/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kugel-">@kugel-</a> who wanted variables declared after available during his manipulations, I wanted to be sure:</p>
<ol dir="auto">
<li>it only applied to variables, remember types can be forwarded and uctags doesn't emit tags for the forward declaration</li>
<li>it only applied to function (or lambda?) local variables, class member variables (and function names) are available backward</li>
<li>it only applied to C/C++, at least Julia allows use before declare, other languages would need their scope rules examining</li>
</ol>
<p dir="auto">Both Eclipse and vscode properly obey C/C++ visibility rules, so they don't show function local names (or globals but who uses those?) declared after.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/3175#issuecomment-1112737423">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZB2ZGKQ2TDS7WWUQDVHMLWBANCNFSM5T5CX5RA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAIOWJ36I4MFXXN6JW2H6HTVHMLWBA5CNFSM5T5CX5RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIJJQNDY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><geany/geany/pull/3175/c1112737423</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/3175#issuecomment-1112737423",
"url": "https://github.com/geany/geany/pull/3175#issuecomment-1112737423",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>