Bug 903797 - Update mfbt/STYLE to the current policy about include guards; r=Waldo

This commit is contained in:
Ms2ger 2013-08-14 09:00:42 +02:00
parent 32b4cafc67
commit dd430907f0

View File

@ -244,8 +244,8 @@ forward-declare it rather than #include that header.
== Preprocessor ==
Include guards should be named by determining the fully-qualified include path,
then substituting _ for / and . in it, and finally appending a trailing _. For
example, "mozilla/Assertions.h" becomes mozilla_Assertions_h_.
and substituting _ for / and . in it. For example, "mozilla/Assertions.h"
becomes mozilla_Assertions_h.
Nested preprocessor directives indent the directive name (but not the #) by two
spaces.