isMicrosoftMissingTypename() uses a Type pointer without first checking
that it's non-null. PR32750 reports a case where the pointer is in fact
null. This patch adds in a defensive check and a regression test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
test/SemaCXX/MicrosoftExtensions.cpp | ||
---|---|---|
516 ↗ | (On Diff #96668) | nitpick: you don't need the space between angle brackets since you set the standard to C++14, I'm not sure what the convention here is but you don't need more than C++11... |
test/SemaCXX/MicrosoftExtensions.cpp | ||
---|---|---|
516 ↗ | (On Diff #96668) | Thanks for taking a look! I'll fix this up before committing. |