Merge pull request #85837 from akien-mga/clang-format-16
Style: Mark clang-format 16 as supported for pre-commit hook
This commit is contained in:
commit
e72e63a6b5
|
@ -608,7 +608,6 @@ layout(std140) uniform GlobalShaderUniformData { //ubo:1
|
|||
};
|
||||
|
||||
/* Material Uniforms */
|
||||
|
||||
#ifdef MATERIAL_UNIFORMS_USED
|
||||
|
||||
/* clang-format off */
|
||||
|
|
|
@ -1045,7 +1045,7 @@ bool ProjectConverter3To4::test_conversion(RegExContainer ®_container) {
|
|||
|
||||
// get_object_of_execution
|
||||
{
|
||||
{ String base = "var roman = kieliszek.";
|
||||
String base = "var roman = kieliszek.";
|
||||
String expected = "kieliszek.";
|
||||
String got = get_object_of_execution(base);
|
||||
if (got != expected) {
|
||||
|
@ -1080,7 +1080,7 @@ bool ProjectConverter3To4::test_conversion(RegExContainer ®_container) {
|
|||
}
|
||||
valid = valid && (got == expected);
|
||||
}
|
||||
}
|
||||
|
||||
// get_starting_space
|
||||
{
|
||||
String base = "\t\t\t var roman = kieliszek.";
|
||||
|
@ -1091,6 +1091,7 @@ bool ProjectConverter3To4::test_conversion(RegExContainer ®_container) {
|
|||
}
|
||||
valid = valid && (got == expected);
|
||||
}
|
||||
|
||||
// Parse Arguments
|
||||
{
|
||||
String line = "( )";
|
||||
|
|
|
@ -29,7 +29,7 @@ so they should work out of the box on Linux/macOS.
|
|||
|
||||
##### clang-format
|
||||
- Download LLVM for Windows (version 13 or later) from
|
||||
<https://releases.llvm.org/download.html>
|
||||
<https://github.com/llvm/llvm-project/releases>
|
||||
- Make sure LLVM is added to the `PATH` during installation
|
||||
|
||||
##### black
|
||||
|
|
|
@ -80,7 +80,7 @@ fi
|
|||
# To get consistent formatting, we recommend contributors to use the same
|
||||
# clang-format version as CI.
|
||||
RECOMMENDED_CLANG_FORMAT_MAJOR_MIN="13"
|
||||
RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="15"
|
||||
RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="16"
|
||||
|
||||
if [ ! -x "$CLANG_FORMAT" ] ; then
|
||||
message="Error: clang-format executable not found. Please install clang-format $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX."
|
||||
|
|
Loading…
Reference in New Issue