diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-20 21:10:42 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-10-20 22:32:16 +0300 |
commit | 6c2bea64922160cd863b424d036f2ae167deb6e9 (patch) | |
tree | 95d75c31a623b110fc95bef886ed1668acbbdf03 /source | |
parent | 43e4d6e5b1425860d5820e866c012a6ebd046a19 (diff) |
Cleanup: Clang-tidy silence readability-non-const-parameter
This is a false alarm, `getFileSystemRepresentation` changes the
return value argument.
So used `NOLINTNEXTLINE`.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/storage_apple.mm | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |