[all-commits] [llvm/llvm-project] 3682e2: [clang][dataflow] Improve handling of constructor ...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Fri May 27 07:02:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3682e22ef404e1314ee1eab9daf6de99dc9ea8ee
https://github.com/llvm/llvm-project/commit/3682e22ef404e1314ee1eab9daf6de99dc9ea8ee
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2022-05-27 (Fri, 27 May 2022)
Changed paths:
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Improve handling of constructor initializers.
Currently, we assert that `CXXCtorInitializer`s are field initializers. Replace
the assertion with an early return. Otherwise, we crash every time we process a
constructor with a non-field (e.g. base class) initializer.
Differential Revision: https://reviews.llvm.org/D126419
More information about the All-commits
mailing list