[clang-tools-extra] [clang-tidy][NFC] Remove redundant braces with clang-format 'RemoveBracesLLVM' (2/N) (PR #172751)

via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 18 06:33:57 PST 2025


================
@@ -23,19 +23,17 @@ static const llvm::StringRef RenameCaseToSuiteMessage =
 
 static std::optional<llvm::StringRef>
 getNewMacroName(llvm::StringRef MacroName) {
-  std::pair<llvm::StringRef, llvm::StringRef> ReplacementMap[] = {
+  llvm::StringMap<llvm::StringRef> ReplacementMap = {
----------------
EugeneZelenko wrote:

Should it be `static`? Same in other place.

https://github.com/llvm/llvm-project/pull/172751


More information about the cfe-commits mailing list