https://github.com/Kitware/CMake
Revision f0802b2f500447aca8cd0db3fc3ce802d7de8235 authored by Klaas Speller on 17 August 2022, 11:42:32 UTC, committed by Brad King on 17 August 2022, 19:34:41 UTC
Use `cmSystemTools::MakeCidentifier` to robustly create a valid function
name to which the test path maps.

Fixes: #23855
1 parent ca2f19c
Raw File
Tip revision: f0802b2f500447aca8cd0db3fc3ce802d7de8235 authored by Klaas Speller on 17 August 2022, 11:42:32 UTC
create_test_sourcelist: Add support for more special characters in paths
Tip revision: f0802b2
.clang-format
---
# This configuration requires clang-format version 6.0 exactly.
BasedOnStyle: Mozilla
AlignOperands: false
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
  AfterClass:      true
  AfterEnum:       true
  AfterFunction:   true
  AfterStruct:     true
  AfterUnion:      true
BreakBeforeBraces: Custom
ColumnLimit: 79
IndentPPDirectives: AfterHash
SortUsingDeclarations: false
SpaceAfterTemplateKeyword: true
IncludeBlocks: Regroup
IncludeCategories:
  - Regex:           '^[<"]cmSTL\.hxx'
    Priority:        -2
  - Regex:           '^[<"]cmConfigure\.h'
    Priority:        -1
  - Regex:           '^<queue>'
    Priority:        1
  - Regex:           '^(<|")cm(ext)?/'
    Priority:        2
  - Regex:           '^(<|")windows\.h'
    Priority:        3
  - Regex:           '^<sys/'
    Priority:        5
  - Regex:           '^(<|")Qt?[A-Z]'
    Priority:        6
  - Regex:           '^<cmtp/'
    Priority:        7
  - Regex:           '^(<|")cmsys/'
    Priority:        8
  - Regex:           '^(<|")cm_'
    Priority:        9
  - Regex:           '^(<|")cm[A-Z][^.]+\.h'
    Priority:        10
  - Regex:           '^<[^.]+\.h'
    Priority:        4
  - Regex:           '^<'
    Priority:        1
  - Regex:           '.*'
    Priority:        11
...
back to top