-
由 Kevin Pilch-Bisson 提交于
Don't wrap embedded statements if their *first* token is on the same line as the end of the previous statement It turns out that VS2013 would allow you to *start* the (non-block) embedded statement on the same line as the parent statement, even if you did end up splitting the embedded statement onto multiple lines. While I was here I also: 1. Added the rest of the embedded statement types to our extension method. 2. Removed some duplication in finding the suppression spans. 3. Stopped treating AccessorDeclarationSyntax specially, since they are already handled by the block handling, and had asymetric adds and removes. Fixes connect bug https://connect.microsoft.com/VisualStudio/feedback/details/1578534/c-formatting-bugs
38679fd1