[clang-tools-extra] d838ca2 - [clang-doc] Remove an unused local variable (NFC) (#167104)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 8 07:40:57 PST 2025
Author: Kazu Hirata
Date: 2025-11-08T07:40:52-08:00
New Revision: d838ca21cade5c5a473c4dbb0433e84a20d95c46
URL: https://github.com/llvm/llvm-project/commit/d838ca21cade5c5a473c4dbb0433e84a20d95c46
DIFF: https://github.com/llvm/llvm-project/commit/d838ca21cade5c5a473c4dbb0433e84a20d95c46.diff
LOG: [clang-doc] Remove an unused local variable (NFC) (#167104)
Identified with bugprone-unused-local-non-trivial-variable.
Added:
Modified:
clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
Removed:
################################################################################
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