]> granicus.if.org Git - clang/commit
Don't consider all local variables in C++ to mandate scope-checking, just
authorJohn McCall <rjmccall@apple.com>
Sun, 1 Aug 2010 01:24:59 +0000 (01:24 +0000)
committerJohn McCall <rjmccall@apple.com>
Sun, 1 Aug 2010 01:24:59 +0000 (01:24 +0000)
commite46f62cbaaa6294d84be09f3c9b910a2031be913
tree121ac3223334e3a85c7d39fd8e1e93b88c8e6c2f
parentb60a77e453d32db0ab1914d28e175c2defc0eb65
Don't consider all local variables in C++ to mandate scope-checking, just
those with initializers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/scope-check.cpp