[all-commits] [llvm/llvm-project] 75c7e7: [clang-doc] Fix assert on startup
Paul Kirth via All-commits
all-commits at lists.llvm.org
Fri Aug 12 11:37:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75c7e79464a3e77043571d187cd8019370326bcb
https://github.com/llvm/llvm-project/commit/75c7e79464a3e77043571d187cd8019370326bcb
Author: Brett Wilson <brettw at google.com>
Date: 2022-08-12 (Fri, 12 Aug 2022)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Log Message:
-----------
[clang-doc] Fix assert on startup
When using `clang-doc --format=html` it will crash on startup because of an assertion doing a self-assignment of a `SmallString`. This patch removes the self-assignment by creating an intermediate copy.
Reviewed By: paulkirth
Differential Revision: https://reviews.llvm.org/D131793
More information about the All-commits
mailing list