[clang-tools-extra] [clang-tidy] Speed up/rewrite `bugprone-stringview-nullptr` (PR #192889)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 10:06:00 PDT 2026


================
@@ -19,21 +19,13 @@ namespace clang::tidy::bugprone {
 /// braced initializer list does not compile so instead a call to `.empty()` or
 /// the empty string literal are used, where appropriate.
----------------
localspook wrote:

Ah, sorry I resolved the previous comment where you said this --- I didn't look at what file you were commenting on, so I thought it was on a slightlty outdated version of the docs, not on the header file

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


More information about the cfe-commits mailing list