This addresses a problem with formatting attributes. Some context: -eaff083035changed `isStartOfName` to fix problems inside `#pragma`s, but this behavior changed formatting of attribute macros in an undesirable way. -efeb546865changed Google format style to fix some widely used attributes. Instead of changing the format style, this commit specializes behavior introduced ineaff083035to `#pragma`s. This seems to work well in both cases. Also update the test with two `GUARDED_BY` directives. While the formatting afterefeb546865seems better, this case is rare enough to not warrant the extra complexity. We are reverting it back to the state it had beforeefeb546865. --------- Co-authored-by: Owen Pan <owenpiano@gmail.com>
221 KiB
221 KiB