Displaying 1 result from an estimated 1 matches for "fram_i".
Did you mean:
fram_j
2012 Jul 30
3
[LLVMdev] Regarding scope information for variable declaration.
Hi All,
I have question regarding lexical scope information.
If I have .c source with scope as below.
void func()
{
//-- some code here..
{ //parent scope
if() //high pass
{
int i;
for( i =0; i < FRAM_I; i++)
{
}
}
if() //low pass
{
int i;
for( i =0; i < FRAM_J; i++)
{
}
}
}
}
In this case, the 'variable i' is not initialized in any of the if scope, so it should belong to which scope?
Is it ok, if '...