File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -4635,7 +4635,9 @@ void PrintAST::visitPostfixOperatorDecl(PostfixOperatorDecl *decl) {
4635
4635
});
4636
4636
}
4637
4637
4638
- void PrintAST::visitModuleDecl (ModuleDecl *decl) { }
4638
+ void PrintAST::visitModuleDecl (ModuleDecl *decl) {
4639
+
4640
+ }
4639
4641
4640
4642
void PrintAST::visitMissingDecl (MissingDecl *missing) {
4641
4643
Printer << " missing_decl" ;
@@ -4785,7 +4787,13 @@ void PrintAST::visitErrorExpr(ErrorExpr *expr) {
4785
4787
Printer << " <error>" ;
4786
4788
}
4787
4789
4788
- void PrintAST::visitTernaryExpr (TernaryExpr *expr) {}
4790
+ void PrintAST::visitTernaryExpr (TernaryExpr *expr) {
4791
+ if (expr->getCondExpr ()) {
4792
+ visit (expr->getThenExpr ());
4793
+ } else {
4794
+ visit (expr->getElseExpr ());
4795
+ }
4796
+ }
4789
4797
4790
4798
void PrintAST::visitIsExpr (IsExpr *expr) {
4791
4799
}
You can’t perform that action at this time.
0 commit comments