Files
clang-p2996/clang/lib/CodeGen/CGExprConstant.cpp
Manna, Soumi c3e7c6e9e0 [NFC][CLANG] Fix static code analyzer concerns
Reported by Static Code Analyzer Tool:

Inside "CGExprConstant.cpp" file, VisitObjCEncodeExpr() returns null value which is dereferenced without checking.

This patch adds an assert.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D151280
2023-05-25 20:00:24 -07:00

88 KiB