Skip to content

Commit 76adb2f

Browse files
committed
iox-#2011 Rename 'string.cpp' to fix the clang-tidy check
1 parent 0cf06f2 commit 76adb2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

iceoryx_platform/generic/source/string.cpp renamed to iceoryx_platform/generic/source/string_.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
//
1515
// SPDX-License-Identifier: Apache-2.0
1616

17+
// NOTE: This file is called 'string_.cpp' due to issues with clang-tidy. When the file is called 'string.cpp'
18+
// clang-tidy assumes to be the translation unit for 'iox/string.hpp' tries to check that header with the wrong
19+
// translation unit which leads to an error not finding the includes in 'iox/string.hpp'
20+
1721
#include "iceoryx_platform/string.hpp"
1822

1923
#ifndef IOX_PLATFORM_OVERRIDE_STRING_ALL

0 commit comments

Comments
 (0)