[clang] [dataflow] CXXOperatorCallExpr equal operator might not be a glvalue (PR #80991)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 7 06:32:16 PST 2024
================
@@ -2313,6 +2313,42 @@ TEST(TransferTest, AssignmentOperatorWithInitAndInheritance) {
ASTContext &ASTCtx) {});
}
+TEST(TransferTest, CXXOperatorCallExprEqualReturnsVoid) {
+ // This is a crash repro.
+ std::string Code = R"(
+ struct B {
----------------
martinboehme wrote:
Can you rename this to `struct S`?
(The reason we have `B` in the test above is because it is the "base". But otherwise we typically call structs `S`.)
https://github.com/llvm/llvm-project/pull/80991
More information about the cfe-commits
mailing list