[all-commits] [llvm/llvm-project] c4e946: Revert "[clang][dataflow] Correctly handle `InitLi...
Samira Bazuzi via All-commits
all-commits at lists.llvm.org
Mon Feb 26 05:23:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4e94633e8a48ee33115d5d3161ee142fc1c9700
https://github.com/llvm/llvm-project/commit/c4e94633e8a48ee33115d5d3161ee142fc1c9700
Author: Samira Bazuzi <bazuzi at google.com>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
Revert "[clang][dataflow] Correctly handle `InitListExpr` of union type." (#82856)
Reverts llvm/llvm-project#82348, which caused crashes when analyzing
empty InitListExprs for unions, e.g.
```cc
union U {
double double_value;
int int_value;
};
void target() {
U value;
value = {};
}
```
Co-authored-by: Samira Bazuzi <bazuzi at users.noreply.github.com>
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