Hi, clang does not consider the case where a SwitchStmt satisfied isAllEnumCasesCovered as well as having no cases at all (i.e. the enum it covers has no enumerators).
The attached patch adds a successor in this case which gives us a proper CFG. This fixes PR16212. -- David Majnemer
PR16212.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
