Fix crash from PR25156 where getDestructorName() calls LookupQualifiedName() on incomplete type.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7136 Build 7136: arc lint + arc unit
Event Timeline
lib/Sema/SemaExprCXX.cpp | ||
---|---|---|
192–194 | You should probably respond to the incomplete context within this case (by returning nullptr, I guess) instead of falling down into the else. |
Comment Actions
Thanks, looks great.
If you're going to be submitting multiple patches, you should really ask for commit access; it's not an arduous process.
You should probably respond to the incomplete context within this case (by returning nullptr, I guess) instead of falling down into the else.