[all-commits] [llvm/llvm-project] 3ce7d2: [clang][RecoveryExpr] Don't perform alignment chec...
Aleksandr Platonov via All-commits
all-commits at lists.llvm.org
Thu Sep 15 05:53:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ce7d256f2d7f64d57ccbfd7935d55eafc639314
https://github.com/llvm/llvm-project/commit/3ce7d256f2d7f64d57ccbfd7935d55eafc639314
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/recovery-expr-type.cpp
Log Message:
-----------
[clang][RecoveryExpr] Don't perform alignment check if parameter type is dependent
This patch fixes a crash which appears because of getTypeAlignInChars() call with depentent type.
Reviewed By: hokein
Differential Revision: https://reviews.llvm.org/D133886
More information about the All-commits
mailing list