[all-commits] [llvm/llvm-project] 1e3f6a: [clang-tidy][NFC] Prefer `constexpr llvm::StringLi...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Tue Jul 8 10:49:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e3f6a6c4fd8dafb208216ffcabe31fa978ca502
      https://github.com/llvm/llvm-project/commit/1e3f6a6c4fd8dafb208216ffcabe31fa978ca502
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/clang-tidy/abseil/AbseilMatcher.h
    M clang-tools-extra/clang-tidy/bugprone/ComparePointerToMemberVirtualFunctionCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Prefer `constexpr llvm::StringLiteral` over `const char *` (#147301)

Some of these are even global mutable state — probably not what was
intended!
```cpp
static const char *AnalyzerCheckNamePrefix = "clang-analyzer-";
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list