aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2020-05-20 23:15:08 +0200
committerHaojian Wu <hokein.wu@gmail.com>2020-05-21 09:47:36 +0200
commitc2c36c4f4b69ade6d8610b1dc98ff9f02c94320d (patch)
tree9ce47f60a51c1eb6af0f634fdb6fa6096fcb13ad /llvm/lib/Support/StringRef.cpp
parent1c3d9c2f3629c758db859b55e839dc97734fa171 (diff)
downloadllvm-c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d.zip
llvm-c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d.tar.gz
llvm-c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d.tar.bz2
[clang][index] Fix a crash for accessing a null field decl.
getField() may return a nullptr, we already did that in BodyIndexer::VisitDesignatedInitExpr, but missed one place.
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions