forked from OSchip/llvm-project
30360d88d4
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. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D130279 |
||
---|---|---|
.. | ||
assets | ||
tool | ||
BitcodeReader.cpp | ||
BitcodeReader.h | ||
BitcodeWriter.cpp | ||
BitcodeWriter.h | ||
CMakeLists.txt | ||
ClangDoc.cpp | ||
ClangDoc.h | ||
Generators.cpp | ||
Generators.h | ||
HTMLGenerator.cpp | ||
MDGenerator.cpp | ||
Mapper.cpp | ||
Mapper.h | ||
Representation.cpp | ||
Representation.h | ||
Serialize.cpp | ||
Serialize.h | ||
YAMLGenerator.cpp |