[all-commits] [llvm/llvm-project] 7c71ae: Update ReleaseNotes

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Mon Feb 3 03:45:13 PST 2025


  Branch: refs/heads/users/chapuni/mcdc/nest/trunk
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c71ae3369b1df23c8a3e65a2950885b6162e06b
      https://github.com/llvm/llvm-project/commit/7c71ae3369b1df23c8a3e65a2950885b6162e06b
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  Update ReleaseNotes


  Commit: 176368a7da3527cca5bde7a7e44fcaee0affd157
      https://github.com/llvm/llvm-project/commit/176368a7da3527cca5bde7a7e44fcaee0affd157
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SourceBasedCodeCoverage.rst

  Log Message:
  -----------
  Update ReleaseNotes


  Commit: af336315f37021ccc6d21059ecfe28a0f30248ff
      https://github.com/llvm/llvm-project/commit/af336315f37021ccc6d21059ecfe28a0f30248ff
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/test/CoverageMapping/mcdc-single-cond.cpp

  Log Message:
  -----------
  [MC/DC] Introduce `-fmcdc-single-conditions` to include also single conditions

`-fmcdc-single-conditions` is `CC1Option` for now.

This change discovers `isInstrumentedCondition(Cond)` on
`DoStmt/ForStmt/IfStmt/WhleStmt/AbstractConditionalOperator` and add
them into Decisions.

An example of the report:

```
MC/DC Decision Region (mmm:nn) to (mmm:nn)

  Number of Conditions: 1
     Condition C1 -->(mmm:nn)

  Executed MC/DC Test Vectors:

     C1    Result
  1 { F  = F      }
  2 { T  = T      }

  C1-Pair: covered: (1,2)
  MC/DC Coverage for Expression: 100.00%
```

The Decision is covered only if both `true` and `false` are covered.

Fixes #95336


  Commit: 562ad8ca9b13eba90e604bcd1187602a37c75896
      https://github.com/llvm/llvm-project/commit/562ad8ca9b13eba90e604bcd1187602a37c75896
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/SourceBasedCodeCoverage.rst
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CoverageMappingGen.cpp
    M clang/test/CoverageMapping/mcdc-single-cond.cpp

  Log Message:
  -----------
  Merge branches 'users/chapuni/mcdc/nest/single' and 'users/chapuni/mcdc/nest/lnot' into users/chapuni/mcdc/nest/trunk

Conflicts:
	clang/docs/ReleaseNotes.rst


Compare: https://github.com/llvm/llvm-project/compare/9f6928d03729...562ad8ca9b13

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list