• Hielke Morsink's avatar
    Add include categories to .clang-format · a36b200d
    Hielke Morsink authored
    This adds 3 rules that clang-format uses when ordering include files:
     - common.h is assigned priority -1
     - Incudes using <> is given priority 1
     - Includes using "" is given priority 2
    
    It also disables putting the "main" file first (the .h/.hpp with the
    same name as the .c/.cpp"
    
    #5074
    [ci skip]
    a36b200d