reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1447 Style.BreakBeforeBraces = FormatStyle::BraceBreakingStyle::BS_Custom; 1448 Style.BraceWrapping.AfterControlStatement = FormatStyle::BWACS_MultiLine; 1449 Style.ColumnLimit = 20; 1454 format("if(foo){bar();}", Style)); 1460 format("if(foo){bar();}else{baz();}", Style)); 1464 format("if(foo&&bar){baz();}", Style)); 1470 format("if(foo){bar();}else if(baz){quux();}", Style)); 1479 format("if(foo){bar();}else if(baz){quux();}else{foobar();}", Style)); 1487 format("while(1){foo();}", Style)); 1492 format("switch(foo){case bar:return;}", Style)); 1498 format("try{foo();}catch(...){bar();}", Style)); 1503 format("do{foo();}while(bar&&baz);", Style)); 1510 format("if(foo&&bar&&baz){quux();}", Style)); 1520 Style)); 1528 format("if(foo){bar();}else if(baz||quux){foobar();}", Style)); 1540 Style)); 1546 format("for(int i=0;i<10;++i){foo();}", Style)); 1552 format("while(foo||bar||baz){quux();}", Style)); 1559 format("switch(foo=barbaz){case quux:return;}", Style)); 1567 format("try{foo();}catch(Exception&bar){baz();}", Style));