aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-11 11:12:12 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-01-11 11:29:38 +0000
commitfba8ad2b719c14e971dfe16458b3d18c08e0e40d (patch)
tree6c589cb95def1761722e67054195f94d927945a0 /clang/lib/CodeGen/CodeGenFunction.cpp
parent3946095b881366c2f01ebafd18b689337a43aa02 (diff)
downloadllvm-fba8ad2b719c14e971dfe16458b3d18c08e0e40d.zip
llvm-fba8ad2b719c14e971dfe16458b3d18c08e0e40d.tar.gz
llvm-fba8ad2b719c14e971dfe16458b3d18c08e0e40d.tar.bz2
[SemaTemplateInstantiate] Use cast<> instead of dyn_cast<> to avoid dereference of nullptr
The pointer is always dereferenced immediately below, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions