File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2622,7 +2622,7 @@ bool Converter::VisitImplicitValueInitExpr(clang::ImplicitValueInitExpr *expr) {
26222622 return false ;
26232623}
26242624
2625- bool Converter::VisitSwitchCase (clang::SwitchCase *stmt) {
2625+ bool Converter::ConvertSwitchCaseCondition (clang::SwitchCase *stmt) {
26262626 clang::Stmt *cur = stmt;
26272627 clang::SwitchCase *last = nullptr ;
26282628 bool first = true ;
@@ -2665,7 +2665,7 @@ bool Converter::VisitSwitchStmt(clang::SwitchStmt *stmt) {
26652665 continue ;
26662666 }
26672667 StrCat (" v if v == " );
2668- VisitSwitchCase (sc);
2668+ ConvertSwitchCaseCondition (sc);
26692669 for (auto *t : GetSwitchCaseBody (body, sc)) {
26702670 Convert (t);
26712671 }
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ class Converter : public clang::RecursiveASTVisitor<Converter> {
290290
291291 virtual bool VisitSwitchStmt (clang::SwitchStmt *stmt);
292292
293- virtual bool VisitSwitchCase (clang::SwitchCase *stmt);
293+ bool ConvertSwitchCaseCondition (clang::SwitchCase *stmt);
294294
295295 virtual bool VisitVAArgExpr (clang::VAArgExpr *expr);
296296
You can’t perform that action at this time.
0 commit comments