[PATCH] D36914: Implement CFG construction for __try / __except / __leave.
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 22 14:56:03 PDT 2017
rnk added a comment.
Looks functionally correct
================
Comment at: test/Sema/warn-unreachable-ms.c:42
+ }
+}
----------------
Can we add a test to exercise that this builds the right CFG?
```
__try {
__try {
f();
} __except(1) {
__leave; // should exit outer try
}
__leave;
f(); // expected-warning{{never be executed}}
} __except(1) {
}
```
https://reviews.llvm.org/D36914
More information about the cfe-commits
mailing list