[NFC][CLANG] Fix nullptr dereference issue in CodeGenModule::GetConstantArrayFromStri...
authorManna, Soumi <soumi.manna@intel.com>
Sat, 27 May 2023 14:15:24 +0000 (07:15 -0700)
committerManna, Soumi <soumi.manna@intel.com>
Sat, 27 May 2023 14:16:31 +0000 (07:16 -0700)
commitf59795b2b703d5a782e4c29c0e786ee01942f16a
tree646172d9a641306f57a2c0118e2a8facb597522d
parent0f8e0f4228805cbecce13dcfadef4c48a4f0f4cd
[NFC][CLANG] Fix nullptr dereference issue in CodeGenModule::GetConstantArrayFromStringLiteral()

This patch adds an assert.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D151480
clang/lib/CodeGen/CodeGenModule.cpp