[all-commits] [llvm/llvm-project] b03abb: [clang/test/CodeGen] Add test coverage for VarBypa...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Fri Jun 9 11:28:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b03abbb537e5403ab32f97e2ffcebafe4a92720d
https://github.com/llvm/llvm-project/commit/b03abbb537e5403ab32f97e2ffcebafe4a92720d
Author: Wang <Duo.Wang at sony.com>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
A clang/test/CodeGen/lifetime3.cpp
Log Message:
-----------
[clang/test/CodeGen] Add test coverage for VarBypassDetector handling init statements and condition variables in switch clauses
[VarBypassDetector.cpp](https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/VarBypassDetector.cpp) lacks test coverage for handling init statements and condition variables in switch clauses, as is shown in:
https://lab.llvm.org/coverage/coverage-reports/coverage/Users/buildslave/jenkins/workspace/coverage/llvm-project/clang/lib/CodeGen/VarBypassDetector.cpp.html#L70
This patch adds test coverage for uncovered lines.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D152412
More information about the All-commits
mailing list