[PATCH] D55387: [analyzer] MoveChecker Pt.7: NFC: Misc refactoring.

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 7 09:49:53 PST 2018


Szelethus accepted this revision.
Szelethus added a comment.
This revision is now accepted and ready to land.

Woohoo! Thanks!



================
Comment at: lib/StaticAnalyzer/Checkers/MoveChecker.cpp:515-516
   // class in which the encountered method defined.
   while (const auto *BR = dyn_cast<CXXBaseObjectRegion>(ThisRegion))
     ThisRegion = BR->getSuperRegion();
 
----------------
How about `MemRegion::getMostDerivedObjectRegion()`? @baloghadamsoftware recently commited it,


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55387/new/

https://reviews.llvm.org/D55387





More information about the cfe-commits mailing list