mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
clang-tidy: fix bugprone-branch-clone lints
This commit is contained in:
@@ -1107,8 +1107,10 @@ std::string GetSourcecodeValueFromFileExtension(
|
||||
} else if (ext == "storyboard") {
|
||||
keepLastKnownFileType = true;
|
||||
sourcecode = "file.storyboard";
|
||||
// NOLINTNEXTLINE(bugprone-branch-clone)
|
||||
} else if (ext == "mm" && !cm::contains(enabled_langs, "OBJCXX")) {
|
||||
sourcecode += ".cpp.objcpp";
|
||||
// NOLINTNEXTLINE(bugprone-branch-clone)
|
||||
} else if (ext == "m" && !cm::contains(enabled_langs, "OBJC")) {
|
||||
sourcecode += ".c.objc";
|
||||
} else if (ext == "swift") {
|
||||
|
||||
Reference in New Issue
Block a user