This patch uses castAs instead of getAs which will assert if the type doesn't match in clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(clang::GlobalDecl).
Details
Details
Diff Detail
Diff Detail
Differential D151957
[NFC][CLANG] Fix bug with dereference null return value in GetFunctionTypeForVTable() Manna on Jun 1 2023, 6:15 PM. Authored by
Details This patch uses castAs instead of getAs which will assert if the type doesn't match in clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(clang::GlobalDecl).
Diff Detail |