[PATCH] D49158: [clang-tidy] Fixing segfault when there's no IdentifierInfo

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 12 04:55:28 PDT 2018


hokein added a comment.

In https://reviews.llvm.org/D49158#1158327, @JonasToth wrote:

> Is there a way to add a test, that would trigger the old segfault and show that it does not happen anymore with this fix?


+1, we should have a minimal test case for this fix, https://bugs.llvm.org/show_bug.cgi?id=36150 provides a case, but we need to reduce it (getting rid of the STD header).


https://reviews.llvm.org/D49158





More information about the cfe-commits mailing list