mirror of
https://github.com/Ed94/gencpp.git
synced 2025-02-24 06:08:37 -08:00
misc changes to clang format spacing
This commit is contained in:
parent
b6b246fb38
commit
62b36ec8bb
@ -309,6 +309,7 @@ ArrayHeader* array_get_header(Array<Type> array) {
|
|||||||
using NonConstType = TRemoveConst<Type>;
|
using NonConstType = TRemoveConst<Type>;
|
||||||
return rcast(ArrayHeader*, const_cast<NonConstType*>(Data)) - 1;
|
return rcast(ArrayHeader*, const_cast<NonConstType*>(Data)) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Type> forceinline
|
template<class Type> forceinline
|
||||||
bool array_grow(Array<Type>* array, usize min_capacity)
|
bool array_grow(Array<Type>* array, usize min_capacity)
|
||||||
{
|
{
|
||||||
|
@ -90,7 +90,7 @@ struct _heap_alloc_info
|
|||||||
|
|
||||||
void* heap_allocator_proc( void* allocator_data, AllocType type, ssize size, ssize alignment, void* old_memory, ssize old_size, u64 flags )
|
void* heap_allocator_proc( void* allocator_data, AllocType type, ssize size, ssize alignment, void* old_memory, ssize old_size, u64 flags )
|
||||||
{
|
{
|
||||||
void* ptr = NULL;
|
void* ptr = nullptr;
|
||||||
// unused( allocator_data );
|
// unused( allocator_data );
|
||||||
// unused( old_size );
|
// unused( old_size );
|
||||||
if ( ! alignment )
|
if ( ! alignment )
|
||||||
|
@ -146,7 +146,7 @@ QualifierAlignment: Leave
|
|||||||
|
|
||||||
ReferenceAlignment: Left
|
ReferenceAlignment: Left
|
||||||
|
|
||||||
ReflowComments: true
|
ReflowComments: false
|
||||||
|
|
||||||
# RequiresExpressionIndentation: OuterScope
|
# RequiresExpressionIndentation: OuterScope
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ SpaceAfterTemplateKeyword: false
|
|||||||
SpaceAroundPointerQualifiers: Default
|
SpaceAroundPointerQualifiers: Default
|
||||||
|
|
||||||
SpaceBeforeAssignmentOperators: true
|
SpaceBeforeAssignmentOperators: true
|
||||||
SpaceBeforeCaseColon: true
|
SpaceBeforeCaseColon: false
|
||||||
SpaceBeforeCpp11BracedList: true
|
SpaceBeforeCpp11BracedList: true
|
||||||
SpaceBeforeCtorInitializerColon: true
|
SpaceBeforeCtorInitializerColon: true
|
||||||
SpaceBeforeInheritanceColon: true
|
SpaceBeforeInheritanceColon: true
|
||||||
@ -182,7 +182,7 @@ SpacesInContainerLiterals: false
|
|||||||
SpacesInLineCommentPrefix:
|
SpacesInLineCommentPrefix:
|
||||||
Minimum: 1
|
Minimum: 1
|
||||||
Maximum: 20
|
Maximum: 20
|
||||||
SpacesInParentheses: true
|
SpacesInParentheses: false
|
||||||
SpacesInSquareBrackets: false
|
SpacesInSquareBrackets: false
|
||||||
|
|
||||||
Standard: c++17
|
Standard: c++17
|
||||||
|
Loading…
x
Reference in New Issue
Block a user