From 6c2bea64922160cd863b424d036f2ae167deb6e9 Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Tue, 20 Oct 2020 23:40:42 +0530 Subject: Cleanup: Clang-tidy silence readability-non-const-parameter This is a false alarm, `getFileSystemRepresentation` changes the return value argument. So used `NOLINTNEXTLINE`. --- source/blender/blenlib/intern/storage_apple.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/blenlib/intern/storage_apple.mm b/source/blender/blenlib/intern/storage_apple.mm index 16a2fd338fa..564ef5a199a 100644 --- a/source/blender/blenlib/intern/storage_apple.mm +++ b/source/blender/blenlib/intern/storage_apple.mm @@ -32,6 +32,8 @@ * \param r_targetpath Buffer for the target path an alias points to. * \return Whether the file at the input path is an alias. */ +/* False alarm by clang-tidy: #getFileSystemRepresentation changes the return value argument. */ +/* NOLINTNEXTLINE: readability-non-const-parameter. */ bool BLI_file_alias_target(const char *filepath, char r_targetpath[FILE_MAXDIR]) { /* clang-format off */ -- cgit v1.2.3