[all-commits] [llvm/llvm-project] 7ad6c8: [clang] Fix an assertion crash in delayed access c...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Fri Nov 13 05:03:25 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7ad6c8414ce2c229129c93281835eb9457cf0bfb
https://github.com/llvm/llvm-project/commit/7ad6c8414ce2c229129c93281835eb9457cf0bfb
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M clang/lib/Sema/SemaAccess.cpp
A clang/test/SemaCXX/cxx14-access.cpp
Log Message:
-----------
[clang] Fix an assertion crash in delayed access check.
`TD->getTemplatedDecl()` might not be a DeclContext variant, which can
trigger an assertion inside `isa<>`.
Differential Revision: https://reviews.llvm.org/D91380
More information about the All-commits
mailing list