зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1439936 - Change check_spidermonkey_style.py to support sorting "util/Windows.h". r=sfink.
Far more files #include "util/Windows.h" than <psapi.h>, so this makes the style-checker check more things (and makes --fixup mode fix more things). --HG-- extra : rebase_source : a0c4edf10ad7dd4b5e0265c49035acf242197e6c
This commit is contained in:
Родитель
a919e6fbda
Коммит
405e06a621
|
@ -114,7 +114,7 @@ oddly_ordered_inclnames = set([
|
|||
'frontend/ReservedWordsGenerated.h', # Included in the body of frontend/TokenStream.h
|
||||
'gc/StatsPhasesGenerated.h', # Included in the body of gc/Statistics.h
|
||||
'gc/StatsPhasesGenerated.cpp', # Included in the body of gc/Statistics.cpp
|
||||
'util/Windows.h', # Must be #included before <psapi.h>
|
||||
'psapi.h', # Must be included after "util/Windows.h" on Windows
|
||||
'machine/endian.h', # Must be included after <sys/types.h> on BSD
|
||||
'winbase.h', # Must precede other system headers(?)
|
||||
'windef.h' # Must precede other system headers(?)
|
||||
|
|
Загрузка…
Ссылка в новой задаче