summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-03-04 08:07:15 +0000
committerVedant Kumar <vsk@apple.com>2016-03-04 08:07:15 +0000
commit22bd871ea66538c1c21929828e2eca2185161c3e (patch)
treeaa80b9bff2dd8548eedf07d0ceb148928f6b3c46 /clang/lib/CodeGen/CodeGenModule.h
parent37e594c79966900734dd1cc1bda3a9cafc48cd85 (diff)
downloadbcm5719-llvm-22bd871ea66538c1c21929828e2eca2185161c3e.tar.gz
bcm5719-llvm-22bd871ea66538c1c21929828e2eca2185161c3e.zip
[Coverage] Fix the start/end locations of switch statements
While pushing switch statements onto the region stack we neglected to specify their start/end locations. This results in a crash (PR26825) if we end up in nested macro expansions without enough information to handle the relevant file exits. I added a test in switchmacro.c and fixed up a bunch of incorrect CHECK lines that specify strange end locations for switches. llvm-svn: 262697
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud