Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jason Orendorff committed Feb 17, 2018
1 parent a919e6f commit 405e06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/check_spidermonkey_style.py
Expand Up @@ -114,7 +114,7 @@
'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(?)
Expand Down

0 comments on commit 405e06a

Please sign in to comment.