[SEH] Use cleanupendpad so that WinEHPrepare gets the coloring right
authorReid Kleckner <rnk@google.com>
Thu, 10 Sep 2015 22:11:13 +0000 (22:11 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 10 Sep 2015 22:11:13 +0000 (22:11 +0000)
commit2586aac9087a9864ebd6cdee4f1f747e86eceaad
treefb8e71992550760423f6c7e36f98e57b995f887f
parentda6dcc5d926cb7481ff28b127c5e67da4501a99c
[SEH] Use cleanupendpad so that WinEHPrepare gets the coloring right

Cleanupendpad is a lot like catchendpad, so we can reuse the same
EHScopeStack type.

llvm-svn: 247349
clang/lib/CodeGen/CGCleanup.cpp
clang/lib/CodeGen/CGCleanup.h
clang/lib/CodeGen/CGException.cpp
clang/lib/CodeGen/EHScopeStack.h
clang/test/CodeGen/exceptions-seh-new.c