clang-doc would SEGV when running over the Fuchsia code base.
This patch adds a check to avoid dereferencing potentially null pointers
in the Values vector. These pointers were either never valid or had been
invalidated when the underlying pointer in std::unique_ptr was moved from,
hence making it nullptr within the vector.
Details
Details
- Reviewers
phosek abrachet - Commits
- rG30360d88d422: [clang-doc] Add check for pointer validity
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo