[PATCH] D39562: [CodeGen][ObjC] Fix an assertion failure caused by copy elision
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 7 09:44:56 PST 2018
ahatanak updated this revision to Diff 137418.
ahatanak marked an inline comment as done.
ahatanak added a comment.
Don't set the IsUnique bit of an OpaqueValueExpr that is used as the result expression.
https://reviews.llvm.org/D39562
Files:
include/clang/AST/Expr.h
include/clang/AST/Stmt.h
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaPseudoObject.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/CodeGenCXX/ms-property.cpp
test/CodeGenObjC/objc-container-subscripting-1.m
test/CodeGenObjCXX/property-dot-copy-elision.mm
test/CodeGenObjCXX/property-objects.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39562.137418.patch
Type: text/x-patch
Size: 21402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180307/cdb7e7d9/attachment-0001.bin>
More information about the cfe-commits
mailing list