script_opt/IDOptInfo: Add NOLINT(bugprone-branch-clone)

This commit is contained in:
Arne Welzel 2025-07-07 18:52:11 +02:00
parent b034fd3f55
commit 0cc30faa55

View file

@ -456,7 +456,7 @@ int IDOptInfo::FindRegionBeforeIndex(int stmt_num) {
// or // or
// It's active at the beginning of the statement of interest. // It's active at the beginning of the statement of interest.
if ( ur.EndsAfter() == NO_DEF || ur.EndsAfter() >= stmt_num ) 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() ) { else if ( ur.EndsAfter() == stmt_num - 1 && ur.EndedDueToAssignment() ) {
// There's one other possibility, which occurs for a series of // There's one other possibility, which occurs for a series of