[cfe-commits] r56060 - /cfe/trunk/lib/Parse/ParseStmt.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Thu Sep 11 16:15:23 PDT 2008


Neil Booth wrote:
> Argiris Kirtzidis wrote:-
>   
>> 3.3.2p4 says that #2 is local to the if statement, and 6.4p3 says that #2 goes out of scope when the if statement finishes.
>> Are you suggesting that we handle these requirements for #2 without entering a new scope ?
>>     
>
> As I initially read the standard, yes, but I think you've persuaded
> me the standard does require a new scope.
>   

Added comments about 3.3.2p4 here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080908/007543.html

Hopefully it's a bit less confusing now :-)


-Argiris



More information about the cfe-commits mailing list