diff options
| author | Manna, Soumi <soumi.manna@intel.com> | 2023-05-25 20:00:19 -0700 |
|---|---|---|
| committer | Manna, Soumi <soumi.manna@intel.com> | 2023-05-25 20:00:24 -0700 |
| commit | c3e7c6e9e0809e2626253af584c7d7acfc4ce60b (patch) | |
| tree | 10bcd8031976ca4474923575782a6a8c1dd463ba /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | c9ee63138189368674cd201891577e65bd289ed4 (diff) | |
| download | llvm-c3e7c6e9e0809e2626253af584c7d7acfc4ce60b.zip llvm-c3e7c6e9e0809e2626253af584c7d7acfc4ce60b.tar.gz llvm-c3e7c6e9e0809e2626253af584c7d7acfc4ce60b.tar.bz2 | |
[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
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
