[all-commits] [llvm/llvm-project] dfc800: [Clang][Sema] Fix crash when rebuilding MemberExpr...
Krystian Stasiowski via All-commits
all-commits at lists.llvm.org
Tue Jul 9 10:31:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dfc8004d0b0b85155dad0e9aca84716425b87676
https://github.com/llvm/llvm-project/commit/dfc8004d0b0b85155dad0e9aca84716425b87676
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
Log Message:
-----------
[Clang][Sema] Fix crash when rebuilding MemberExprs with invalid object expressions (#97455)
This patch fixes an assertion failure which occurs when the object expression of a `MemberExpr` is transformed into an expression with a dependent type for which the `DeclContext` cannot be computed (e.g. a `RecoveryExpr`). Fixes #95778.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list