[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-03-01 Thread NAKAMURA Takumi via llvm-branch-commits
@@ -275,49 +276,57 @@ struct MapRegionCounters : public RecursiveASTVisitor { // an AST Stmt node. MC/DC will use it to to signal when the top of a // logical operation (boolean expression) nest is encountered. bool dataTraverseStmtPost(Stmt *S) { -/// If MC/DC is n

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-28 Thread NAKAMURA Takumi via llvm-branch-commits
https://github.com/chapuni updated https://github.com/llvm/llvm-project/pull/125413 >From c56ecc30e9fd1a674073e362fbfcc6b43f2f52e2 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 2 Feb 2025 22:06:32 +0900 Subject: [PATCH 1/4] [MC/DC] Enable nested expressions A warning "contains an o

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-28 Thread NAKAMURA Takumi via llvm-branch-commits
@@ -228,45 +228,46 @@ struct MapRegionCounters : public RecursiveASTVisitor { /// The stacks are also used to find error cases and notify the user. A /// standard logical operator nest for a boolean expression could be in a form /// similar to this: "x = a && b && c &&

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-28 Thread Alan Phipps via llvm-branch-commits
@@ -275,49 +276,57 @@ struct MapRegionCounters : public RecursiveASTVisitor { // an AST Stmt node. MC/DC will use it to to signal when the top of a // logical operation (boolean expression) nest is encountered. bool dataTraverseStmtPost(Stmt *S) { -/// If MC/DC is n

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-27 Thread NAKAMURA Takumi via llvm-branch-commits
@@ -275,49 +276,57 @@ struct MapRegionCounters : public RecursiveASTVisitor { // an AST Stmt node. MC/DC will use it to to signal when the top of a // logical operation (boolean expression) nest is encountered. bool dataTraverseStmtPost(Stmt *S) { -/// If MC/DC is n

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-27 Thread Jessica Paquette via llvm-branch-commits
@@ -275,49 +276,57 @@ struct MapRegionCounters : public RecursiveASTVisitor { // an AST Stmt node. MC/DC will use it to to signal when the top of a // logical operation (boolean expression) nest is encountered. bool dataTraverseStmtPost(Stmt *S) { -/// If MC/DC is n

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-27 Thread Jessica Paquette via llvm-branch-commits
@@ -228,45 +228,46 @@ struct MapRegionCounters : public RecursiveASTVisitor { /// The stacks are also used to find error cases and notify the user. A /// standard logical operator nest for a boolean expression could be in a form /// similar to this: "x = a && b && c &&

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-03 Thread NAKAMURA Takumi via llvm-branch-commits
https://github.com/chapuni updated https://github.com/llvm/llvm-project/pull/125413 >From c56ecc30e9fd1a674073e362fbfcc6b43f2f52e2 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 2 Feb 2025 22:06:32 +0900 Subject: [PATCH 1/2] [MC/DC] Enable nested expressions A warning "contains an o

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-02 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: NAKAMURA Takumi (chapuni) Changes A warning "contains an operation with a nested boolean expression." is no longer emitted. At the moment, split expressions are treated as individual Decisions. --- Full diff: https://github.com/llvm/llvm

[llvm-branch-commits] [clang] [MC/DC] Enable nested expressions (PR #125413)

2025-02-02 Thread NAKAMURA Takumi via llvm-branch-commits
https://github.com/chapuni created https://github.com/llvm/llvm-project/pull/125413 A warning "contains an operation with a nested boolean expression." is no longer emitted. At the moment, split expressions are treated as individual Decisions. >From c56ecc30e9fd1a674073e362fbfcc6b43f2f52e2 Mo