[PATCH] D150895: [NFC][CLANG] Fix dereference issue before null check found by Coverity static analyzer tool
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 18 11:20:44 PDT 2023
erichkeane added inline comments.
================
Comment at: clang/lib/Parse/ParsePragma.cpp:4042
PP.Lex(Tok);
if (!II || !(II->isStr("vector") || II->isStr("sifive_vector"))) {
----------------
I think you still need line 4043 here, right? The one where II is set to the Token?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150895/new/
https://reviews.llvm.org/D150895
More information about the cfe-commits
mailing list