[clang-tools-extra] [clang-doc] Remove an unused local variable (NFC) (PR #167104)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 7 23:39:35 PST 2025
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/167104
Identified with bugprone-unused-local-non-trivial-variable.
>From 89ea120cb7d8587ba4569f83eecba8d23074243c Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Fri, 7 Nov 2025 09:48:39 -0800
Subject: [PATCH] [clang-doc] Remove an unused local variable (NFC)
Identified with bugprone-unused-local-non-trivial-variable.
---
clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp b/clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
index 3650f66ec39bd..1e757101549c6 100644
--- a/clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
+++ b/clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
@@ -156,7 +156,6 @@ Error MustacheHTMLGenerator::generateDocs(
SmallString<128> JSONPath;
sys::path::native(RootDir.str() + "/json", JSONPath);
- StringMap<json::Value> JSONFileMap;
{
llvm::TimeTraceScope TS("Iterate JSON files");
std::error_code EC;
More information about the cfe-commits
mailing list