aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2019-05-28 11:54:01 +0000
committerHaojian Wu <hokein@google.com>2019-05-28 11:54:01 +0000
commit2255b31cec4206769630ae6f9801491317bd11ec (patch)
treec94370108541a83dde798d20bdeb251bf48f5690 /llvm/lib/Object/ELFObjectFile.cpp
parent53f2f3286572cb879b3861d7c15480e4d830dd3b (diff)
downloadllvm-2255b31cec4206769630ae6f9801491317bd11ec.zip
llvm-2255b31cec4206769630ae6f9801491317bd11ec.tar.gz
llvm-2255b31cec4206769630ae6f9801491317bd11ec.tar.bz2
[clang-tidy] Fix null pointer dereference in readability-identifier-naming
Summary: readability-identifier-naming causes a null pointer dereference when checking an identifier introduced by a structured binding whose right hand side is an undeclared identifier. Running the check on a file that is just the following results in a crash: ``` auto [left] = right; ``` Patch by Mark Stegeman! Reviewers: alexfh, hokein, aaron.ballman, JonasToth Reviewed By: hokein, aaron.ballman Subscribers: madsravn, xazax.hun, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D62404 llvm-svn: 361809
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions