[clang-doc] populateParentNamespaces - use cast<> instead of dyn_cast<> to...
[clang-doc] populateParentNamespaces - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The pointer is referenced immediately, so assert the cast is correct instead of returning nullptr It's only later iterations of the loop where the getParent() call might return nullptr
Loading
Please sign in to comment