[PATCH] D22881: Fix NamedDeclFindingASTVisitor

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 28 01:23:34 PDT 2016


omtcyfz added a comment.

In https://reviews.llvm.org/D22881#498911, @alexshap wrote:

> inside setResult  Decl->getQualifiedNameAsString() is used
>  so RD should not be nullptr there.
>  we get there in the newly added test.


It is used, but then we should add this check to setResult, don't we? Otherwise it only works for TypeLocs.


https://reviews.llvm.org/D22881





More information about the cfe-commits mailing list