summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/complete-switch.c
Commit message (Collapse)AuthorAgeFilesLines
* [clang] Fix a null pointer dereference.Kadir Cetinkaya2018-10-231-0/+10
Summary: Sometimes expression inside switch statement can be invalid, for example type might be incomplete. In those cases code were causing a null pointer dereference. This patch fixes that. Reviewers: sammccall, ioeric, hokein Reviewed By: sammccall Subscribers: arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D53561 llvm-svn: 345029
OpenPOWER on IntegriCloud