[PATCH] D156189: [-Wunsafe-buffer-usage] Refactor to let local variable fix-its and parameter fix-its share common code

Rashmi Mudduluru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 25 13:09:47 PDT 2023


t-rasmud added inline comments.


================
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:1824
+
+  if (!IdentText)
+    return {};
----------------
When will this condition be satisfied? I just want to understand if there are code examples where there is no identifier text or is it that `getVarDeclIdentifierText` fails.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156189/new/

https://reviews.llvm.org/D156189



More information about the cfe-commits mailing list