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 <[email protected]> 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; _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
