There is not currently a way to match against a variable declaration that is an exception variable. For instance:
void f() {
try {
int X;
} catch (int Y) {
}
}
You can match int X and int Y, but you cannot currently match only int
Y. The attached patch adds a matcher to allow that, as well as test
code and documentation.
~Aaron
isExceptionVar.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
