Closed Bug 961222 Opened 6 years ago Closed 6 years ago

fix documentation and indentation in Compiler.h

Categories

(Core :: MFBT, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

No description provided.
Noticed both of these were wrong, might as well fix things up.
Attachment #8361899 - Flags: review?(jwalden+bmo)
Comment on attachment 8361899 [details] [diff] [review]
fix documentation and indentation in Compiler.h

Review of attachment 8361899 [details] [diff] [review]:
-----------------------------------------------------------------

::: mfbt/Compiler.h
@@ +15,5 @@
> +    /*
> +     * This macro should simplify gcc version checking. For example, to check
> +     * for gcc 4.5.1 or later, check `#if MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.
> +     */
> +#    define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel)          \

Hm, this define and the one above it are at the same indent level.  So this second one should be unindented by two spaces.  And if Assertions.h is guide, the comment should be unindented by one space, to put the '/' aligned with the 'd' in 'define'.
Attachment #8361899 - Flags: review?(jwalden+bmo) → review+
https://hg.mozilla.org/mozilla-central/rev/bc98b7a52884
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.