Skip to content

Commit c787c1e

Browse files
PeterChou1yuxuanchen1997
authored andcommitted
[clang-doc] fix broken tests (#100260)
Summary: This patch fixes the broken test caused by clang-doc which was caused by #100251 https://lab.llvm.org/buildbot/#/builders/144/builds/3080 Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251218
1 parent ec45a09 commit c787c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-doc/HTMLGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ static llvm::Error serializeIndex(ClangDocContext &CDCtx) {
983983
llvm::json::OStream J(OS, 2);
984984
std::function<void(Index)> IndexToJSON = [&](const Index &I) {
985985
J.object([&] {
986-
//J.attribute("USR", toHex(llvm::toStringRef(I.USR)));
986+
J.attribute("USR", toHex(llvm::toStringRef(I.USR)));
987987
J.attribute("Name", I.Name);
988988
J.attribute("RefType", getRefType(I.RefType));
989989
J.attribute("Path", I.getRelativeFilePath(""));

0 commit comments

Comments
 (0)