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
Event Timeline
Comment Actions
LGTM
test/SemaCXX/MicrosoftExtensions.cpp | ||
---|---|---|
516 | 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 | Thanks for taking a look! I'll fix this up before committing. |
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...