author | Richard Smith <richard-llvm@metafoo.co.uk> | |
Mon, 2 Oct 2017 22:43:36 +0000 (22:43 +0000) | ||
committer | Richard Smith <richard-llvm@metafoo.co.uk> | |
Mon, 2 Oct 2017 22:43:36 +0000 (22:43 +0000) | ||
commit | 7fc0a33d4466cfbac4f1f3ebb7e9b7dd1dd02946 | |
tree | fe8586030371cfbe8aa0aef65e5adaf667a22250 | tree | snapshot (tar.xz tar.gz zip) |
parent | 3c43204d0b2175212bb4cd9930094d40b69ecf72 | commit | diff |
PR33839: Fix -Wunused handling for structured binding declarations.
We warn about a structured binding declaration being unused only if none of its
bindings are used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314733 91177308-0d34-0410-b5e6-96231b3b80d8
We warn about a structured binding declaration being unused only if none of its
bindings are used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314733 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp | diff | blob | history | |
lib/Sema/SemaDeclCXX.cpp | diff | blob | history | |
lib/Sema/SemaTemplateInstantiateDecl.cpp | diff | blob | history | |
test/SemaCXX/unused.cpp | diff | blob | history |