aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2025-10-08 13:57:16 -0700
committerGitHub <noreply@github.com>2025-10-08 13:57:16 -0700
commit37af81fbb54aed5a7433c8c48217b1d54384c3cf (patch)
tree30a45814acbba9d08a515c9669546c78983cfd75 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
parent0ca23a3054cb87dc5a58420fe1f39383d5641eeb (diff)
downloadllvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.zip
llvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.tar.gz
llvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.tar.bz2
[Clang][Sema] Add a nullptr check in template name (#162377)
Static analysis flagged that when calling ActOnTemplateName, `S` can be a `nullptr` and we call `isTemplateName` which unconditionally dereferences the `S` argument at some point. I added a `nullptr` check to assure we don't dereference `S` in `isTemplateName` if it is a `nullptr`.
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions