]> granicus.if.org Git - clang/commit
First part of PR9968: the __range variable in a dependent C++11 for-range statement...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jun 2011 23:07:19 +0000 (23:07 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jun 2011 23:07:19 +0000 (23:07 +0000)
commitcd6f36693ed40cef8c8639c04438d865187c1f73
tree1637a9d3c8ffe5b210550a799d9f354e01509fcb
parenta72a12f3baed07f2663e48c5fc3b670c68dffe0c
First part of PR9968: the __range variable in a dependent C++11 for-range statement is implicitly used by that statement.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133572 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/SemaCXX/for-range-unused.cpp [new file with mode: 0644]