Hi Diego,

I noticed this patch that adds support for improved -Wshadow-related options:

  [google] Add two new -Wshadow warnings (issue4452058)
   https://gcc.gnu.org/ml/gcc-patches/2011-04/msg02317.html
   https://codereview.appspot.com/4452058/

Here are the proposed descriptions:

    -Wshadow-local which warns if a local variable shadows another local
    variable or parameter,

    -Wshadow-compatible-local which warns if a local variable shadows another
    local variable or parameter whose type is compatible with that of the
    shadowing variable.

Yet, I see no further discussion of them, other than Jason's review feedback.
Was this change deemed unsuitable for upstream gcc?

Thanks,
Jim

Reply via email to