[all-commits] [llvm/llvm-project] 7e4591: [clang] Do not crash on arrow operator on dependen...
Adam Czachorowski via All-commits
all-commits at lists.llvm.org
Fri Mar 25 07:53:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e459126185f4d5115e6e2166a866aba1369d024
https://github.com/llvm/llvm-project/commit/7e459126185f4d5115e6e2166a866aba1369d024
Author: Adam Czachorowski <adamcz at google.com>
Date: 2022-03-25 (Fri, 25 Mar 2022)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/arrow-operator.cpp
Log Message:
-----------
[clang] Do not crash on arrow operator on dependent type.
There seems to be more than one way to get to that state. I included to
example cases in the test, both were noticed recently.
There is room for improvement, for example by creating RecoveryExpr in
place of the bad initializer, but for now let's stop the crashes.
Differential Revision: https://reviews.llvm.org/D121824
More information about the All-commits
mailing list