rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land.
Thanks, looks good assuming your performance testing doesn't uncover anything. ================ Comment at: lib/AST/ODRHash.cpp:319-321 + if (!D) return; + if (D->isImplicit()) + return; ---------------- I think you can remove these lines: no-one should be calling this function with a null declaration or an implicit declaration. https://reviews.llvm.org/D21675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits