This revision was automatically updated to reflect the committed changes.
Closed by commit rL287540: readability-redundant-declaration: Fix crash
(authored by danielmarjamaki).
Changed prior to commit:
https://reviews.llvm.org/D26911?vs=78706&id=78715#toc
Repository:
rL LLVM
https://reviews
hokein accepted this revision.
hokein added a reviewer: hokein.
hokein added a comment.
This revision is now accepted and ready to land.
LGTM with a nit.
Comment at: clang-tidy/readability/RedundantDeclarationCheck.cpp:33
return;
+ if (!Prev->getLocation().isValid())
+