[all-commits] [llvm/llvm-project] 66ace4: [clang-tidy] Fix a nullptr-access crash in unused-...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Mon Nov 23 00:44:51 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 66ace4dc0275c8d7740bc5ff57c20e85e6660371
https://github.com/llvm/llvm-project/commit/66ace4dc0275c8d7740bc5ff57c20e85e6660371
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-11-23 (Mon, 23 Nov 2020)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp
Log Message:
-----------
[clang-tidy] Fix a nullptr-access crash in unused-raii-check.
I saw this crash in our internal production, but unfortunately didn't get
reproduced testcase, we likely hit this crash when the AST is ill-formed
(e.g. broken code).
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D91614
More information about the All-commits
mailing list