[clang-tools-extra] [IncludeCleaner] display overview (PR #93932)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 24 04:05:00 PDT 2026
================
@@ -34,7 +34,7 @@ namespace include_cleaner {
namespace {
namespace cl = llvm::cl;
-llvm::StringRef Overview = llvm::StringLiteral(R"(
+constexpr char* const Overview = R"(
----------------
AaronBallman wrote:
```suggestion
constexpr const char * Overview = R"(
```
`constexpr` makes the pointer implicitly `const` anyway, but we need the pointee to be `const`.
https://github.com/llvm/llvm-project/pull/93932
More information about the cfe-commits
mailing list