Add end-of-file-fixer pre-commit hook (#3176)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2025-01-24 20:43:50 +01:00
committed by GitHub
parent c7b63cd9a7
commit c79b6dcf52
8187 changed files with 8059 additions and 8199 deletions

View File

@@ -30,5 +30,3 @@
# define U_ASSERT(exp)
#endif
#endif

View File

@@ -612,4 +612,3 @@ uprv_eastrncpy(uint8_t *dst, const uint8_t *src, int32_t n)
}
return orig_dst;
}

View File

@@ -23,4 +23,3 @@ uprv_min(int32_t x, int32_t y)
{
return (x > y ? y : x);
}

View File

@@ -59,4 +59,3 @@ typedef struct USetAdder USetAdder;
U_CDECL_END
#endif

View File

@@ -50,4 +50,4 @@ _NS_INLINE NS::Date* NS::Date::dateWithTimeIntervalSinceNow(NS::TimeInterval sec
return NS::Object::sendMessage<NS::Date*>(_NS_PRIVATE_CLS(NSDate), _NS_PRIVATE_SEL(dateWithTimeIntervalSinceNow_), secs);
}
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------------------------------------------------------

View File

@@ -115,4 +115,4 @@ _NS_INLINE void NS::Condition::broadcast()
NS::Object::sendMessage<void>(this, _NS_PRIVATE_SEL(broadcast));
}
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------------------------------------------------------------

View File

@@ -107,4 +107,3 @@ _NS_INLINE void NS::NotificationCenter::removeObserver(Object* pObserver)
{
return NS::Object::sendMessage<void>(this, _NS_PRIVATE_SEL(removeObserver_), pObserver);
}

View File

@@ -307,4 +307,4 @@ CA::MetalDrawable* pMetalDrawable = pMetalLayer->nextDrawable();
|-|-|
| macOS 13.3, iOS 16.4 | Add all APIs in macOS 13.3 and iOS 16.4. |
| macOS 13, iOS 16| Add all APIs for macOS 13 and iOS 16.<br />New optional `NS::SharedPtr<T>` type to assist with memory management.<br/>New convenience function to create a `CA::MetalLayer`.<br/>New `MTLSTR(str)` macro allows faster string creation from literals.<br/>Fix a problem with the signature of functions that take an array of pointers as input.<br/>Fix a problem with the signature of the `setGroups()` function in `MTL::LinkedFunctions`.|
| macOS 12, iOS 15 | Initial release. |
| macOS 12, iOS 15 | Initial release. |

View File

@@ -6194,4 +6194,3 @@ const uint16_t NU_DUCET_VALUES_I[] = {
0x2D37, 0x07BF, 0x07F4, 0x0FCA, 0x228F, 0x0865, 0x0869, 0x0885, 0x07FA, 0x2268,
0x2262, 0x100B, 0x2279, 0x0FC3, 0x227A, 0x227B, 0x2274, 0x2275, 0x2276, 0x2277,
0x2270, 0x2271, 0x2272, 0x2273, 0x226C, 0x226D, 0x0769, };

View File

@@ -843,4 +843,3 @@ const uint8_t NU_TOLOWER_COMBINED[] = {
0xA7, 0x00, 0xE1, 0xBE, 0xB3, 0x00, 0xE1, 0xBF, 0x83, 0x00, 0xE1, 0xBF,
0xB3, 0x00,
};

View File

@@ -457,4 +457,3 @@ const uint8_t NU_TOUNACCENT_COMBINED[] = {
0xB2, 0x00, 0xE2, 0x8A, 0xB3, 0x00, 0xE2, 0x8A, 0xB4, 0x00, 0xE2, 0x8A,
0xB5, 0x00, 0xE2, 0xAB, 0x9D, 0x00,
};

View File

@@ -914,4 +914,3 @@ const uint8_t NU_TOUPPER_COMBINED[] = {
0x86, 0x00, 0xD5, 0x84, 0xD4, 0xB5, 0x00, 0xD5, 0x84, 0xD4, 0xBB, 0x00,
0xD5, 0x8E, 0xD5, 0x86, 0x00, 0xD5, 0x84, 0xD4, 0xBD, 0x00,
};

1
vendor/tracy.cmake vendored
View File

@@ -25,4 +25,3 @@ set_target_properties(
INTERFACE_MAPLIBRE_AUTHOR "Bartosz Taudul"
INTERFACE_MAPLIBRE_LICENSE ${CMAKE_CURRENT_LIST_DIR}/tracy/LICENSE
)

View File

@@ -24,4 +24,4 @@ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -11,4 +11,4 @@ set_target_properties(
INTERFACE_MAPLIBRE_URL "https://github.com/martinus/unordered_dense"
INTERFACE_MAPLIBRE_AUTHOR "Martin Leitner-Ankerl"
INTERFACE_MAPLIBRE_LICENSE ${PROJECT_SOURCE_DIR}/vendor/unordered_dense/LICENSE
)
)

2
vendor/vulkan.cmake vendored
View File

@@ -80,4 +80,4 @@ export(TARGETS
GenericCodeGen
APPEND FILE MapboxCoreTargets.cmake
)
)