Prazek accepted this revision. Prazek added a comment. This revision is now accepted and ready to land.
shipit <http://reviews.llvm.org/macro/meme/?macro=shipit> LGTM ================ Comment at: clang-tidy/modernize/UseUsingCheck.cpp:71 @@ +70,3 @@ + const auto *MatchedDecl = Result.Nodes.getNodeAs<TypedefDecl>("typedef"); + if (!MatchedDecl->getLocation().isValid()) + return; ---------------- There should be method called 'isInvalid()' Repository: rL LLVM http://reviews.llvm.org/D18919 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits