mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 903797 - Update mfbt/STYLE to the current policy about include guards; r=Waldo
This commit is contained in:
parent
363f72b597
commit
63c343bbec
@ -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