Bug 903797 - Update mfbt/STYLE to the current policy about include guards; r=Waldo
authorMs2ger <ms2ger@gmail.com>
Wed, 14 Aug 2013 09:00:42 +0200
changeset 155400 6d18692b08785b5aa328ccb70d178c8fb7dc5519
parent 155399 b05548b721dfff31bc77628943dbb7479269316b
child 155401 7904d4264954c0ce8ae5f62c91b62815324ba649
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs903797
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 903797 - Update mfbt/STYLE to the current policy about include guards; r=Waldo
mfbt/STYLE
--- a/mfbt/STYLE
+++ b/mfbt/STYLE
@@ -239,18 +239,18 @@ forward-declare it rather than #include 
   extern bool
   Test(BloomFilter* bf);
   
   } // namespace mozilla
 
 == 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.
 
   #ifdef __clang__
   #  define FOO ...
   #else
   #  define FOO ...