mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 903797 - Update mfbt/STYLE to the current policy about include guards; r=Waldo
This commit is contained in:
parent
32b4cafc67
commit
dd430907f0
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user