rsmith added a comment.
I think the check is wrong here. We need this `clear` call to reinitialize the
object after moving from it. Maybe that function should be annotated as
reinitializing the object instead?
Repository:
rC Clang
https://reviews.llvm.org/D52446
MaskRay created this revision.
MaskRay added a reviewer: rsmith.
Herald added a subscriber: cfe-commits.
MaskRay added a reviewer: clang.
Repository:
rC Clang
https://reviews.llvm.org/D52446
Files:
lib/Sema/SemaStmt.cpp
Index: lib/Sema/SemaStmt.cpp