================ @@ -55,7 +55,8 @@ namespace clang::tidy { namespace { #if CLANG_TIDY_ENABLE_STATIC_ANALYZER -static const char *AnalyzerCheckNamePrefix = "clang-analyzer-"; +static constexpr llvm::StringLiteral AnalyzerCheckNamePrefix = ---------------- localspook wrote:
I can't do that, it conflicts with: https://github.com/llvm/llvm-project/blob/45d679218aebdac5c9818be211d8e3a517c944c3/clang/include/clang/AST/Expr.h#L1794-L1796 That's why I'm qualifying with the namespace everywhere. https://github.com/llvm/llvm-project/pull/147301 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits