diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-01-30 03:49:44 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-01-30 03:49:44 +0000 |
| commit | afed1ddb406afe00cb05360c5b8a01e42db3250d (patch) | |
| tree | bad5ca554804cecba8c95fde77daf4a9e42efcac /lldb/source/Plugins/DynamicLoader | |
| parent | 24f44ac53a2f1c578c50113d402a2cffacfe21d4 (diff) | |
| download | bcm5719-llvm-afed1ddb406afe00cb05360c5b8a01e42db3250d.tar.gz bcm5719-llvm-afed1ddb406afe00cb05360c5b8a01e42db3250d.zip | |
Don't warn on fall-through from unreachable code.
Summary:
A motivating example:
class ClassWithDtor {
public:
~ClassWithDtor() {}
};
void fallthrough3(int n) {
switch (n) {
case 2:
do {
ClassWithDtor temp;
return;
} while (0); // This generates a chain of unreachable CFG blocks.
case 3:
break;
}
}
Reviewers: rsmith, doug.gregor, alexfh
Reviewed By: alexfh
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D330
llvm-svn: 173889
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
0 files changed, 0 insertions, 0 deletions

