[all-commits] [llvm/llvm-project] d462aa: [clang] Fix a nullptr dereference bug on invalid code
Adam Czachorowski via All-commits
all-commits at lists.llvm.org
Mon Jan 25 06:02:53 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d462aa5a619ab9fdf8b024e48c19bc8820fe8781
https://github.com/llvm/llvm-project/commit/d462aa5a619ab9fdf8b024e48c19bc8820fe8781
Author: Adam Czachorowski <adamcz at google.com>
Date: 2021-01-25 (Mon, 25 Jan 2021)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/SemaCXX/subst-func-type-invalid-ret-type.cpp
Log Message:
-----------
[clang] Fix a nullptr dereference bug on invalid code
When working with invalid code, we would try to dereference a nullptr
while deducing template arguments in some dependend code operating on a
lambda with invalid return type.
Differential Revision: https://reviews.llvm.org/D95145
More information about the All-commits
mailing list