diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2024-06-19 07:15:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 07:15:19 +0900 |
commit | 12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14 (patch) | |
tree | 34698828d040c8616b18204124282293901b4f4d /clang/docs | |
parent | 625fc4b3f2463355053f57baebc76a672935c50b (diff) | |
download | llvm-12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14.zip llvm-12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14.tar.gz llvm-12cf0dc685a9c3adfefc3a58f0b8ed4360be8b14.tar.bz2 |
Update ReleaseNotes for MC/DC changes. (#95887)
Mostly apparent changes (#82448, #95496) are described here.
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 0f958d2..7112d1f 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -595,6 +595,21 @@ Improvements to Clang's time-trace - Clang now specifies that using ``auto`` in a lambda parameter is a C++14 extension when appropriate. (`#46059: <https://github.com/llvm/llvm-project/issues/46059>`_). +Improvements to Coverage Mapping +-------------------------------- + +- Macros defined in system headers are not expanded in coverage + mapping. Conditional expressions in system header macros are no + longer taken into account for branch coverage. They can be included + with ``-mllvm -system-headers-coverage``. + (`#78920: <https://github.com/llvm/llvm-project/issues/78920>`_) +- MC/DC Coverage has been improved. + (`#82448: <https://github.com/llvm/llvm-project/pull/82448>`_) + + - The maximum number of conditions is no longer limited to 6. See + `this <SourceBasedCodeCoverage.html#mc-dc-instrumentation>` for + more details. + Bug Fixes in This Version ------------------------- - Clang's ``-Wundefined-func-template`` no longer warns on pure virtual |