From 0cc30faa55b02d18bc70241c43374fbc83e52685 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Mon, 7 Jul 2025 18:52:11 +0200 Subject: [PATCH] script_opt/IDOptInfo: Add NOLINT(bugprone-branch-clone) --- src/script_opt/IDOptInfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script_opt/IDOptInfo.cc b/src/script_opt/IDOptInfo.cc index ced93878b9..026e111b97 100644 --- a/src/script_opt/IDOptInfo.cc +++ b/src/script_opt/IDOptInfo.cc @@ -456,7 +456,7 @@ int IDOptInfo::FindRegionBeforeIndex(int stmt_num) { // or // It's active at the beginning of the statement of interest. if ( ur.EndsAfter() == NO_DEF || ur.EndsAfter() >= stmt_num ) - region_ind = i; + region_ind = i; // NOLINT(bugprone-branch-clone) else if ( ur.EndsAfter() == stmt_num - 1 && ur.EndedDueToAssignment() ) { // There's one other possibility, which occurs for a series of