[clang] Improve C string null terminator diagnostics (PR #190411)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 3 15:06:42 PDT 2026
================
@@ -1141,6 +1141,97 @@ static bool ProcessFormatStringLiteral(const Expr *FormatExpr,
return false;
}
+static StringRef getSimpleLibraryFunctionName(const FunctionDecl *FD) {
----------------
efriedma-quic wrote:
We generally prefer to check BuiltinIDs instead of directly examining the name; names are complicated to analyze.
https://github.com/llvm/llvm-project/pull/190411
More information about the cfe-commits
mailing list