Bobby Holley writes: > Note that there in a explicit stylistic exception that NS_WARN_IF > statements do not require braces. So it's: > > if (NS_WARN_IF(NS_FAILED(rv))) > return rv;
I don't see that on the current version of https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style I like having entirely blank lines (without braces) after jump statements because I find it helps make them stand out, but I don't see any reason why there should be an exception only for particular macros. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform