[PATCH] D52446: Remove Found.clear() to silent bugprone-use-after-move after rC342925

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 24 21:13:59 PDT 2018


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





More information about the cfe-commits mailing list