Closed Bug 1340183 Opened 7 years ago Closed 6 years ago

[clang-format] Header sorting not always in alphabetical order

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jya, Unassigned)

References

Details

      No description provided.
example:

#include "DecryptJob.h"
#include "GMPCDMProxy.h"
#include "GMPCDMCallbackProxy.h"

is sorted as:
#include "GMPCDMProxy.h"
#include "DecryptJob.h"
#include "GMPCDMCallbackProxy.h"

this is incorrect.
it should be:
#include "DecryptJob.h"
#include "GMPCDMProxy.h"
#include "GMPCDMCallbackProxy.h"

as D is before G
Product: Core → Firefox Build System
I think this is now fixed.
(tested with clang-format-7)
Blocks: clang-format
Status: NEW → RESOLVED
Closed: 6 years ago
Component: Source Code Analysis → Lint and Formatting
Resolution: --- → FIXED
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.