diff options
author | Daniel Marjamaki <daniel.marjamaki@evidente.se> | 2016-09-28 10:39:53 +0000 |
---|---|---|
committer | Daniel Marjamaki <daniel.marjamaki@evidente.se> | 2016-09-28 10:39:53 +0000 |
commit | 2593b402ced66c14e59f59fcbb2ce92a4e55a04d (patch) | |
tree | c9e7e6be9c957ed95fc3ecdf78f174ab1b0f05eb /clang/unittests/Tooling/RefactoringTest.cpp | |
parent | e6d01e08c6c1c156a42eecc84d268e93bbd53490 (diff) | |
download | llvm-2593b402ced66c14e59f59fcbb2ce92a4e55a04d.zip llvm-2593b402ced66c14e59f59fcbb2ce92a4e55a04d.tar.gz llvm-2593b402ced66c14e59f59fcbb2ce92a4e55a04d.tar.bz2 |
[StaticAnalyzer] Fix false positives for vardecls that are technically unreachable but they are needed.
Example:
switch (x) {
int a; // <- This is unreachable but needed
case 1:
a = ...
Differential Revision: https://reviews.llvm.org/D24905
llvm-svn: 282574
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
0 files changed, 0 insertions, 0 deletions