ABataev added a comment. Add a test
================ Comment at: include/clang/AST/Stmt.h:697 + SourceLocation ellipsisLoc, SourceLocation colonLoc, + Stmt *SubStmt=nullptr) : SwitchCase(CaseStmtClass, caseLoc, colonLoc) { ---------------- I don't think you need this new param. You can create an instance if CaseStmt, then call `setSubStmt()` and after that return this instance. https://reviews.llvm.org/D26105 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits